com.threerings.opengl.renderer.config
Class ShaderConfig.Definition
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ShaderConfig.Definition
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Direct Known Subclasses:
- ShaderConfig.BooleanDefinition, ShaderConfig.ColorDefinition, ShaderConfig.FloatDefinition, ShaderConfig.FogBlendSnippet, ShaderConfig.FogParamSnippet, ShaderConfig.FragmentLightingSnippet, ShaderConfig.IntegerDefinition, ShaderConfig.StringDefinition, ShaderConfig.TexCoordSnippet, ShaderConfig.TransformDefinition, ShaderConfig.VertexLightingSnippet
- Enclosing class:
- ShaderConfig
@EditorTypes(value={ShaderConfig.BooleanDefinition.class,ShaderConfig.ColorDefinition.class,ShaderConfig.FloatDefinition.class,ShaderConfig.IntegerDefinition.class,ShaderConfig.StringDefinition.class,ShaderConfig.TransformDefinition.class,ShaderConfig.FogParamSnippet.class,ShaderConfig.FogBlendSnippet.class,ShaderConfig.TexCoordSnippet.class,ShaderConfig.VertexLightingSnippet.class,ShaderConfig.FragmentLightingSnippet.class})
public abstract static class ShaderConfig.Definition- extends DeepObject
- implements Exportable
Represents a preprocessor definition.
|
Field Summary |
String |
name
The name of the definition. |
|
Method Summary |
abstract void |
getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
Retrieves the definitions for this config and adds them to the provided list. |
name
@Editable(hgroup="p")
public String name
- The name of the definition.
ShaderConfig.Definition
public ShaderConfig.Definition()
getDefinitions
public abstract void getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
- Retrieves the definitions for this config and adds them to the provided list.
Copyright © 2011. All Rights Reserved.