|
||||||||||
| 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.material.config.PassConfig
public class PassConfig
Represents a single material pass.
| Field Summary | |
|---|---|
AlphaStateConfig |
alphaState
The alpha state to use in this pass. |
ColorMaskStateConfig |
colorMaskState
The color mask state to use in this pass. |
ColorStateConfig |
colorStateOverride
The color state to use in this pass (overriding the default). |
CullStateConfig |
cullState
The cull state to use in this pass. |
DepthStateConfig |
depthState
The depth state to use in this pass. |
ExpressionBinding[] |
dynamicBindings
The dynamic expression bindings for this pass. |
FogStateConfig |
fogStateOverride
The fog state to use in this pass (overriding the default). |
boolean |
ignoreVertexColors
Whether or not to ignore the vertex colors. |
LightStateConfig |
lightStateOverride
The light state to use in this pass (overriding the default). |
LineStateConfig |
lineState
The line state. |
MaterialStateConfig |
materialState
The material state to use in this pass. |
PointStateConfig |
pointState
The point state. |
PolygonStateConfig |
polygonState
The polygon state to use in this pass. |
ShaderStateConfig |
shaderState
The shader state to use in this pass. |
ExpressionBinding[] |
staticBindings
The static expression bindings for this pass. |
StencilStateConfig |
stencilState
The stencil state to use in this pass. |
TextureStateConfig |
textureState
The texture state to use in this pass. |
| Constructor Summary | |
|---|---|
PassConfig()
|
|
| Method Summary | |
|---|---|
PassDescriptor |
createDescriptor(GlContext ctx)
Returns a descriptor for this pass that can be used to configure a geometry instance. |
RenderState[] |
createStates(GlContext ctx,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
Creates the set of states for this pass. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the technique's update references to the provided set. |
void |
invalidate()
Invalidates any cached data. |
boolean |
isSupported(GlContext ctx,
boolean fallback)
Determines whether this pass is supported. |
| 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 public AlphaStateConfig alphaState
@Editable(nullable=true) public ColorStateConfig colorStateOverride
@Editable public ColorMaskStateConfig colorMaskState
@Editable public CullStateConfig cullState
@Editable public DepthStateConfig depthState
@Editable(nullable=true) public FogStateConfig fogStateOverride
@Editable(nullable=true) public LightStateConfig lightStateOverride
@Editable(nullable=true) public LineStateConfig lineState
@Editable(nullable=true) public MaterialStateConfig materialState
@Editable(nullable=true) public PointStateConfig pointState
@Editable public PolygonStateConfig polygonState
@Editable public ShaderStateConfig shaderState
@Editable public StencilStateConfig stencilState
@Editable public TextureStateConfig textureState
@Editable public ExpressionBinding[] staticBindings
@Editable public ExpressionBinding[] dynamicBindings
@Editable public boolean ignoreVertexColors
| Constructor Detail |
|---|
public PassConfig()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
public boolean isSupported(GlContext ctx,
boolean fallback)
public PassDescriptor createDescriptor(GlContext ctx)
public RenderState[] createStates(GlContext ctx,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
adders - holds adders to run on composite.updaters - holds updaters to run on enqueue.public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||