|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use RenderState | |
|---|---|
| com.threerings.opengl.material.config | Material configurations. |
| com.threerings.opengl.renderer | |
| com.threerings.opengl.renderer.config | Renderer configuration bits. |
| com.threerings.opengl.renderer.state | |
| com.threerings.opengl.renderer.util | |
| com.threerings.opengl.util | |
| Uses of RenderState in com.threerings.opengl.material.config |
|---|
| Fields in com.threerings.opengl.material.config declared as RenderState | |
|---|---|
RenderState[] |
TechniqueConfig.StateContainer.states
The contained states. |
| Methods in com.threerings.opengl.material.config that return RenderState | |
|---|---|
RenderState[] |
PassConfig.createStates(GlContext ctx,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
Creates the set of states for this pass. |
| Constructors in com.threerings.opengl.material.config with parameters of type RenderState | |
|---|---|
TechniqueConfig.StateContainer(RenderState[] states)
Creates a new container. |
|
| Uses of RenderState in com.threerings.opengl.renderer |
|---|
| Methods in com.threerings.opengl.renderer that return RenderState | |
|---|---|
RenderState[] |
SimpleBatch.getStates()
Returns a reference to the batch's set of render states. |
| Methods in com.threerings.opengl.renderer with parameters of type RenderState | |
|---|---|
void |
Renderer.setState(RenderState state)
Sets a single render state. |
void |
Renderer.setStates(RenderState[] states)
Sets an entire group of states at once. |
| Constructors in com.threerings.opengl.renderer with parameters of type RenderState | |
|---|---|
SimpleBatch(RenderState[] states,
SimpleBatch.DrawCommand command)
Creates a new batch with the specified states and command. |
|
| Uses of RenderState in com.threerings.opengl.renderer.config |
|---|
| Methods in com.threerings.opengl.renderer.config with parameters of type RenderState | |
|---|---|
abstract void |
ShaderConfig.Definition.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
Retrieves the definitions for this config and adds them to the provided list. |
void |
ShaderConfig.BooleanDefinition.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.ColorDefinition.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.FloatDefinition.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.IntegerDefinition.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.StringDefinition.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.TransformDefinition.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.FogParamSnippet.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.FogBlendSnippet.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.TexCoordSnippet.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.VertexLightingSnippet.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
void |
ShaderConfig.FragmentLightingSnippet.getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
|
Shader |
ShaderConfig.getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
Returns the shader corresponding to this configuration. |
abstract Shader |
ShaderConfig.Implementation.getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
Returns the shader corresponding to this configuration. |
Shader |
ShaderConfig.Vertex.getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
|
abstract Shader |
ShaderConfig.Vertex.Contents.getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
Returns the shader. |
Shader |
ShaderConfig.Vertex.SourceFile.getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
|
Shader |
ShaderConfig.Fragment.getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
|
abstract Shader |
ShaderConfig.Fragment.Contents.getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
Returns the shader. |
Shader |
ShaderConfig.Fragment.SourceFile.getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
|
Shader |
ShaderConfig.Derived.getShader(GlContext ctx,
Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide)
|
abstract ShaderState |
ShaderStateConfig.getState(GlContext ctx,
Scope scope,
RenderState[] states,
List<Updater> updaters)
Returns the corresponding shader state. |
ShaderState |
ShaderStateConfig.Disabled.getState(GlContext ctx,
Scope scope,
RenderState[] states,
List<Updater> updaters)
|
ShaderState |
ShaderStateConfig.Enabled.getState(GlContext ctx,
Scope scope,
RenderState[] states,
List<Updater> updaters)
|
| Uses of RenderState in com.threerings.opengl.renderer.state |
|---|
| Subclasses of RenderState in com.threerings.opengl.renderer.state | |
|---|---|
class |
AlphaState
Contains the alpha testing and blending state. |
class |
ArrayState
Contains the client array state. |
class |
ColorMaskState
Contains the color mask state. |
class |
ColorState
Contains the draw color state. |
class |
CullState
Contains the back-face culling state. |
class |
DepthState
Contains the depth buffer testing/writing state. |
class |
FogState
Contains the fog state. |
class |
LightState
Contains the light state. |
class |
LineState
Contains the line state. |
class |
MaterialState
Contains the material state. |
class |
PointState
Contains the point state. |
class |
PolygonState
Contains the polygon state. |
class |
ShaderState
Contains the GLSL shader state. |
class |
StencilState
Contains the stencil state. |
class |
TextureState
Contains the texture state. |
class |
TransformState
Contains the modelview transform state. |
| Methods in com.threerings.opengl.renderer.state that return RenderState | |
|---|---|
static RenderState[] |
RenderState.createDefaultSet()
Returns a new render state set containing the default states. |
static RenderState[] |
RenderState.createEmptySet()
Creates and returns a new, empty render state set. |
static RenderState[] |
RenderState.getDefaults()
Returns a reference to the shared default state array. |
| Methods in com.threerings.opengl.renderer.state with parameters of type RenderState | |
|---|---|
static void |
RenderState.copy(RenderState[] s1,
RenderState[] s2)
Copies any non-null states in s1 into s2. |
static void |
RenderState.copy(RenderState[] s1,
RenderState[] s2)
Copies any non-null states in s1 into s2. |
| Uses of RenderState in com.threerings.opengl.renderer.util |
|---|
| Methods in com.threerings.opengl.renderer.util with parameters of type RenderState | |
|---|---|
static void |
SnippetUtil.getFogBlend(String name,
RenderState[] states,
List<String> defs)
Creates a fog blend snippet. |
static void |
SnippetUtil.getFogParam(String name,
String eyeVertex,
RenderState[] states,
List<String> defs)
Creates a fog parameter snippet. |
static void |
SnippetUtil.getFragmentLighting(String name,
String eyeVertex,
String eyeNormal,
RenderState[] states,
List<String> defs)
Creates a fragment lighting snippet. |
static void |
SnippetUtil.getTexCoord(String name,
String eyeVertex,
String eyeNormal,
RenderState[] states,
List<String> defs)
Retrieves a tex coord snippet. |
static void |
SnippetUtil.getVertexLighting(String name,
String eyeVertex,
String eyeNormal,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
Creates a vertex lighting snippet. |
| Uses of RenderState in com.threerings.opengl.util |
|---|
| Methods in com.threerings.opengl.util that return RenderState | |
|---|---|
RenderState[] |
SimpleRenderable.getStates()
Returns a reference to the state set. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||