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

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
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
ShaderConfig.BooleanUniformConfig, ShaderConfig.ColorUniformConfig, ShaderConfig.FloatUniformConfig, ShaderConfig.IntegerUniformConfig, ShaderConfig.PolarUniformConfig, ShaderConfig.TransformUniformConfig
Enclosing class:
ShaderConfig

public abstract static class ShaderConfig.SimpleUniformConfig
extends ShaderConfig.UniformConfig

Base class for simple uniforms.


Field Summary
 
Fields inherited from class com.threerings.opengl.renderer.config.ShaderConfig.UniformConfig
name
 
Constructor Summary
ShaderConfig.SimpleUniformConfig()
           
 
Method Summary
 void createUniforms(Scope scope, Program program, List<Program.Uniform> uniforms, List<Updater> updaters)
          Creates the uniform objects for this config and adds them to the provided list.
 
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
 

Constructor Detail

ShaderConfig.SimpleUniformConfig

public ShaderConfig.SimpleUniformConfig()
Method Detail

createUniforms

public void createUniforms(Scope scope,
                           Program program,
                           List<Program.Uniform> uniforms,
                           List<Updater> updaters)
Description copied from class: ShaderConfig.UniformConfig
Creates the uniform objects for this config and adds them to the provided list.

Specified by:
createUniforms in class ShaderConfig.UniformConfig


Copyright © 2011. All Rights Reserved.