Package jme3tools.shader
Class ShaderDebug
java.lang.Object
jme3tools.shader.ShaderDebug
Static tool box class for convenient methods to help debug shaders
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringformatShaderSource(String source) Prepend line numbers to the source code of a shader, for output.
-
Method Details
-
formatShaderSource
Prepend line numbers to the source code of a shader, for output.- Parameters:
source- the source- Returns:
- the formatted source code
-