Class DefaultIntShader.Config

java.lang.Object
gaiasky.util.gdx.shader.DefaultIntShader.Config
Direct Known Subclasses:
DepthIntShader.Config, TessellationShaderProvider.Config
Enclosing class:
DefaultIntShader

public static class DefaultIntShader.Config
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    int defaultCullFace
    Set to 0 to disable culling, -1 to inherit from DefaultIntShader.defaultCullFace
    int defaultDepthFunc
    Set to 0 to disable depth test, -1 to inherit from DefaultIntShader.defaultDepthFunc
    java.lang.String fragmentShaderCode
    The uber fragment shader to use, null to use the default fragment shader.
    java.lang.String fragmentShaderFile
    File with the fragment shader, if any
    boolean ignoreUnimplemented  
    int numBones
    The number of bones to use
    int numDirectionalLights
    The number of directional lights to use
    int numPointLights
    The number of point lights to use
    int numSpotLights
    The number of spot lights to use
    java.lang.String vertexShaderCode
    The uber vertex shader to use, null to use the default vertex shader.
    java.lang.String vertexShaderFile
    File with the vertex shader, if any
  • Constructor Summary

    Constructors
    Constructor Description
    Config()  
    Config​(java.lang.String vertexShaderCode, java.lang.String fragmentShaderCode)  
    Config​(java.lang.String vertexShaderFile, java.lang.String fragmentShaderFile, java.lang.String vertexShaderCode, java.lang.String fragmentShaderCode)  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • vertexShaderFile

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

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

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

      public java.lang.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 spot lights to use
    • numBones

      public int numBones
      The number of bones to use
    • ignoreUnimplemented

      public boolean ignoreUnimplemented
    • 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​(java.lang.String vertexShaderFile, java.lang.String fragmentShaderFile, java.lang.String vertexShaderCode, java.lang.String fragmentShaderCode)
    • Config

      public Config​(java.lang.String vertexShaderCode, java.lang.String fragmentShaderCode)