com.threerings.opengl.renderer.config
Class ShaderConfig.Vertex.Contents

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.renderer.config.ShaderConfig.Vertex.Contents
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
ShaderConfig.Vertex.SourceFile
Enclosing class:
ShaderConfig.Vertex

@EditorTypes(value=ShaderConfig.Vertex.SourceFile.class)
public abstract static class ShaderConfig.Vertex.Contents
extends DeepObject
implements Exportable

The initial contents of the shader.


Constructor Summary
ShaderConfig.Vertex.Contents()
           
 
Method Summary
abstract  Shader getShader(GlContext ctx, Scope scope, RenderState[] states, boolean vertexProgramTwoSide)
          Returns the shader.
 void getUpdateResources(HashSet<String> paths)
          Adds the contents' update resources to the provided set.
 
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.Vertex.Contents

public ShaderConfig.Vertex.Contents()
Method Detail

getUpdateResources

public void getUpdateResources(HashSet<String> paths)
Adds the contents' update resources to the provided set.


getShader

public abstract Shader getShader(GlContext ctx,
                                 Scope scope,
                                 RenderState[] states,
                                 boolean vertexProgramTwoSide)
Returns the shader.



Copyright © 2011. All Rights Reserved.