|
||||||||||
| 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.Original
com.threerings.opengl.renderer.config.ShaderConfig.Vertex
public static class ShaderConfig.Vertex
A vertex shader.
| Nested Class Summary | |
|---|---|
static class |
ShaderConfig.Vertex.Contents
The initial contents of the shader. |
static class |
ShaderConfig.Vertex.SourceFile
Creates a shader from the specified file. |
| Field Summary | |
|---|---|
String[] |
attributes
The names of the attributes required by this shader. |
boolean |
colors
Whether or not the shader uses the color state. |
ShaderConfig.Vertex.Contents |
contents
The initial contents of the shader. |
CoordSpace |
coordSpace
The coordinate space in which the shader operates. |
String[] |
hints
Hints to pass to the geometry handler. |
boolean |
normals
Whether or not the shader uses the normal state. |
| Fields inherited from class com.threerings.opengl.renderer.config.ShaderConfig.Original |
|---|
uniforms |
| Constructor Summary | |
|---|---|
ShaderConfig.Vertex()
|
|
| Method Summary | |
|---|---|
Shader |
getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
Returns the shader corresponding to this configuration. |
void |
getUpdateResources(HashSet<String> paths)
Adds the implementation's update resources 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.Original |
|---|
getUniforms |
| Methods inherited from class com.threerings.opengl.renderer.config.ShaderConfig.Implementation |
|---|
getUpdateReferences |
| 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(width=15) public String[] hints
@Editable(width=15) public String[] attributes
@Editable(hgroup="t") public CoordSpace coordSpace
@Editable(hgroup="t") public boolean colors
@Editable(hgroup="t") public boolean normals
@Editable public ShaderConfig.Vertex.Contents contents
| Constructor Detail |
|---|
public ShaderConfig.Vertex()
| Method Detail |
|---|
public void getUpdateResources(HashSet<String> paths)
ShaderConfig.Implementation
getUpdateResources 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.Implementation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||