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 int
defaultCullFace
Set to 0 to disable culling, -1 to inherit fromDefaultIntShader.defaultCullFace
int
defaultDepthFunc
Set to 0 to disable depth test, -1 to inherit fromDefaultIntShader.defaultDepthFunc
java.lang.String
fragmentShader
The uber fragment shader to use, null to use the default fragment shader.boolean
ignoreUnimplemented
int
numBones
The number of bones to useint
numDirectionalLights
The number of directional lights to useint
numPointLights
The number of point lights to useint
numSpotLights
The number of spot lights to usejava.lang.String
vertexShader
The 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)
-