Package gaiasky.util.gdx.shader
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 intdefaultCullFaceSet to 0 to disable culling, -1 to inherit fromDefaultIntShader.defaultCullFaceintdefaultDepthFuncSet to 0 to disable depth test, -1 to inherit fromDefaultIntShader.defaultDepthFuncjava.lang.StringfragmentShaderThe uber fragment shader to use, null to use the default fragment shader.booleanignoreUnimplementedintnumBonesThe number of bones to useintnumDirectionalLightsThe number of directional lights to useintnumPointLightsThe number of point lights to useintnumSpotLightsThe number of spot lights to usejava.lang.StringvertexShaderThe uber vertex shader to use, null to use the default vertex shader. -
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
vertexShader
public java.lang.String vertexShaderThe uber vertex shader to use, null to use the default vertex shader. -
fragmentShader
public java.lang.String fragmentShaderThe uber fragment shader to use, null to use the default fragment shader. -
numDirectionalLights
public int numDirectionalLightsThe number of directional lights to use -
numPointLights
public int numPointLightsThe number of point lights to use -
numSpotLights
public int numSpotLightsThe number of spot lights to use -
numBones
public int numBonesThe number of bones to use -
ignoreUnimplemented
public boolean ignoreUnimplemented -
defaultCullFace
public int defaultCullFaceSet to 0 to disable culling, -1 to inherit fromDefaultIntShader.defaultCullFace -
defaultDepthFunc
public int defaultDepthFuncSet to 0 to disable depth test, -1 to inherit fromDefaultIntShader.defaultDepthFunc
-
-
Constructor Details
-
Config
public Config() -
Config
public Config(java.lang.String vertexShader, java.lang.String fragmentShader)
-