Class DefaultIntShader.Config

Direct Known Subclasses:
DepthIntShader.Config, TessellationShaderProvider.Config
Enclosing class:

public static class DefaultIntShader.Config extends Object
  • Field Details

    • vertexShaderFile

      public String vertexShaderFile
      File with the vertex shader, if any
    • fragmentShaderFile

      public String fragmentShaderFile
      File with the fragment shader, if any
    • vertexShaderCode

      public String vertexShaderCode
      The uber vertex shader to use, null to use the default vertex shader.
    • fragmentShaderCode

      public String fragmentShaderCode
      The uber fragment shader to use, null to use the default fragment shader.
    • numDirectionalLights

      public int numDirectionalLights
      The number of directional lights to use
    • numPointLights

      public int numPointLights
      The number of point lights to use
    • numSpotLights

      public int numSpotLights
      The number of spotlights to use
    • numBones

      public int numBones
      The number of bones to use
    • defaultCullFace

      public int defaultCullFace
      Set to 0 to disable culling, -1 to inherit from DefaultIntShader.defaultCullFace
    • defaultDepthFunc

      public int defaultDepthFunc
      Set to 0 to disable depth test, -1 to inherit from DefaultIntShader.defaultDepthFunc
  • Constructor Details

    • Config

      public Config()
    • Config

      public Config(String vertexShaderFile, String fragmentShaderFile, String vertexShaderCode, String fragmentShaderCode)
    • Config

      public Config(String vertexShaderCode, String fragmentShaderCode)