com.threerings.opengl.renderer.config
Class ShaderConfig.ColorDefinition
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ShaderConfig.Definition
com.threerings.opengl.renderer.config.ShaderConfig.ColorDefinition
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ShaderConfig
public static class ShaderConfig.ColorDefinition
- extends ShaderConfig.Definition
A color-valued definition.
value
@Editable(mode="alpha",
hgroup="p")
public Color4f value
- The value of the definition.
ShaderConfig.ColorDefinition
public ShaderConfig.ColorDefinition()
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.