|
||||||||||
| 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
com.threerings.opengl.renderer.config.ShaderConfig.Derived
public static class ShaderConfig.Derived
A derived implementation.
| Field Summary | |
|---|---|
ConfigReference<ShaderConfig> |
shader
The shader reference. |
| Constructor Summary | |
|---|---|
ShaderConfig.Derived()
|
|
| Method Summary | |
|---|---|
Shader |
getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
Returns the shader corresponding to this configuration. |
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 |
populateDescriptor(GlContext ctx,
PassDescriptor desc)
Populates the relevant portion of the supplied descriptor. |
| Methods inherited from class com.threerings.opengl.renderer.config.ShaderConfig.Implementation |
|---|
getUpdateResources |
| 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 |
| Field Detail |
|---|
@Editable(nullable=true) public ConfigReference<ShaderConfig> shader
| Constructor Detail |
|---|
public ShaderConfig.Derived()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
ShaderConfig.Implementation
getUpdateReferences in class ShaderConfig.Implementation
public void populateDescriptor(GlContext ctx,
PassDescriptor desc)
ShaderConfig.Implementation
populateDescriptor in class ShaderConfig.Implementation
public Shader getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
ShaderConfig.Implementation
getShader in class ShaderConfig.Implementationpublic ShaderConfig.UniformConfig[] getUniforms(GlContext ctx)
ShaderConfig.Implementation
getUniforms in class ShaderConfig.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||