|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ShaderConfig.Implementation
@EditorTypes(value={ShaderConfig.Vertex.class,ShaderConfig.Fragment.class,ShaderConfig.Derived.class})
public abstract static class ShaderConfig.ImplementationContains the actual implementation of the shader.
| Constructor Summary | |
|---|---|
ShaderConfig.Implementation()
|
|
| Method Summary | |
|---|---|
abstract Shader |
getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
Returns the shader corresponding to this configuration. |
abstract ShaderConfig.UniformConfig[] |
getUniforms(GlContext ctx)
Returns the array of uniforms for this configuration. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the implementation's update references to the provided set. |
void |
getUpdateResources(HashSet<String> paths)
Adds the implementation's update resources to the provided set. |
abstract void |
populateDescriptor(GlContext ctx,
PassDescriptor desc)
Populates the relevant portion of the supplied descriptor. |
| 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 |
|---|
public ShaderConfig.Implementation()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
public void getUpdateResources(HashSet<String> paths)
public abstract void populateDescriptor(GlContext ctx,
PassDescriptor desc)
public abstract Shader getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
public abstract ShaderConfig.UniformConfig[] getUniforms(GlContext ctx)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||