com.threerings.opengl.renderer.config
Class ShaderConfig.ColorUniformConfig
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ShaderConfig.UniformConfig
com.threerings.opengl.renderer.config.ShaderConfig.SimpleUniformConfig
com.threerings.opengl.renderer.config.ShaderConfig.ColorUniformConfig
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ShaderConfig
public static class ShaderConfig.ColorUniformConfig
- extends ShaderConfig.SimpleUniformConfig
A color-valued uniform.
value
@Editable(mode="alpha",
hgroup="p")
public Color4f value
- The value of the uniform.
ShaderConfig.ColorUniformConfig
public ShaderConfig.ColorUniformConfig()
createUniform
public Program.Uniform createUniform(int location)
- Description copied from class:
ShaderConfig.SimpleUniformConfig
- Creates a uniform object from this configuration.
- Parameters:
location - the location of the uniform.
Copyright © 2011. All Rights Reserved.