com.threerings.opengl.renderer.config
Class ShaderConfig.FloatUniformConfig
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.FloatUniformConfig
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ShaderConfig
public static class ShaderConfig.FloatUniformConfig
- extends ShaderConfig.SimpleUniformConfig
A float-valued uniform.
|
Field Summary |
float |
value
The value of the uniform. |
value
@Editable(step=0.01,
hgroup="p")
public float value
- The value of the uniform.
ShaderConfig.FloatUniformConfig
public ShaderConfig.FloatUniformConfig()
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.