com.threerings.opengl.renderer.config
Class ShaderConfig.FloatExprUniformConfig
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ShaderConfig.UniformConfig
com.threerings.opengl.renderer.config.ShaderConfig.ExpressionUniformConfig
com.threerings.opengl.renderer.config.ShaderConfig.FloatExprUniformConfig
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ShaderConfig
public static class ShaderConfig.FloatExprUniformConfig
- extends ShaderConfig.ExpressionUniformConfig
A float-valued uniform whose value is derived from an expression.
expression
@Editable
public FloatExpression expression
- The expression for the uniform.
ShaderConfig.FloatExprUniformConfig
public ShaderConfig.FloatExprUniformConfig()
createUniform
protected Program.Uniform createUniform(int location,
Scope scope,
List<Updater> updaters)
- Description copied from class:
ShaderConfig.ExpressionUniformConfig
- Creates a uniform object from this configuration.
- Specified by:
createUniform in class ShaderConfig.ExpressionUniformConfig
- Parameters:
location - the location of the uniform.