com.threerings.opengl.renderer.config
Class ShaderConfig.Vertex.Contents
java.lang.Object
com.threerings.util.DeepObject
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.
ShaderConfig.Vertex.Contents
public ShaderConfig.Vertex.Contents()
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.