com.threerings.opengl.renderer.config
Class ShaderConfig.Fragment.Contents
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ShaderConfig.Fragment.Contents
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Direct Known Subclasses:
- ShaderConfig.Fragment.SourceFile
- Enclosing class:
- ShaderConfig.Fragment
@EditorTypes(value=ShaderConfig.Fragment.SourceFile.class)
public abstract static class ShaderConfig.Fragment.Contents
- extends DeepObject
- implements Exportable
The initial contents of the shader.
ShaderConfig.Fragment.Contents
public ShaderConfig.Fragment.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.