com.threerings.opengl.renderer.config
Class ShaderConfig.BooleanUniformConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.ShaderConfig.UniformConfig
          extended by com.threerings.opengl.renderer.config.ShaderConfig.SimpleUniformConfig
              extended by com.threerings.opengl.renderer.config.ShaderConfig.BooleanUniformConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
ShaderConfig

public static class ShaderConfig.BooleanUniformConfig
extends ShaderConfig.SimpleUniformConfig

A boolean-valued uniform.


Field Summary
 boolean value
          The value of the uniform.
 
Fields inherited from class com.threerings.opengl.renderer.config.ShaderConfig.UniformConfig
name
 
Constructor Summary
ShaderConfig.BooleanUniformConfig()
           
 
Method Summary
 Program.Uniform createUniform(int location)
          Creates a uniform object from this configuration.
 
Methods inherited from class com.threerings.opengl.renderer.config.ShaderConfig.SimpleUniformConfig
createUniforms
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

value

@Editable(hgroup="p")
public boolean value
The value of the uniform.

Constructor Detail

ShaderConfig.BooleanUniformConfig

public ShaderConfig.BooleanUniformConfig()
Method Detail

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.