com.threerings.opengl.renderer.config
Class ShaderConfig.FloatDefinition
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ShaderConfig.Definition
com.threerings.opengl.renderer.config.ShaderConfig.FloatDefinition
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ShaderConfig
public static class ShaderConfig.FloatDefinition
- extends ShaderConfig.Definition
A float-valued definition.
|
Field Summary |
float |
value
The value of the definition. |
value
@Editable(step=0.01,
hgroup="p")
public float value
- The value of the definition.
ShaderConfig.FloatDefinition
public ShaderConfig.FloatDefinition()
getDefinitions
public void getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
- Description copied from class:
ShaderConfig.Definition
- Retrieves the definitions for this config and adds them to the provided list.
- Specified by:
getDefinitions in class ShaderConfig.Definition
Copyright © 2011. All Rights Reserved.