com.badlogic.gdx.graphics.g3d.shaders
Class DefaultShader.Config

java.lang.Object
  extended by com.badlogic.gdx.graphics.g3d.shaders.DefaultShader.Config
Direct Known Subclasses:
DepthShader.Config
Enclosing class:
DefaultShader

public static class DefaultShader.Config
extends Object


Field Summary
 String fragmentShader
          The uber fragment shader to use, null to use the default fragment shader.
 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
 String vertexShader
          The uber vertex shader to use, null to use the default vertex shader.
 
Constructor Summary
DefaultShader.Config()
           
DefaultShader.Config(String vertexShader, String fragmentShader)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vertexShader

public String vertexShader
The uber vertex shader to use, null to use the default vertex shader.


fragmentShader

public String fragmentShader
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

Constructor Detail

DefaultShader.Config

public DefaultShader.Config()

DefaultShader.Config

public DefaultShader.Config(String vertexShader,
                            String fragmentShader)


Copyright © 2013. All Rights Reserved.