Class ShaderDebug

java.lang.Object
jme3tools.shader.ShaderDebug

public class ShaderDebug extends Object
Static tool box class for convenient methods to help debug shaders
  • Method Details

    • formatShaderSource

      public static String formatShaderSource(String source)
      Prepend line numbers to the source code of a shader, for output.
      Parameters:
      source - the source
      Returns:
      the formatted source code