|
||||||||||
| 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.TechniqueConfig
public class TechniqueConfig
Represents a single technique for rendering a material.
| Nested Class Summary | |
|---|---|
static class |
TechniqueConfig.CompoundEnqueuer
Invokes some number of sub-enqueuers. |
static class |
TechniqueConfig.Enqueuer
Represents the manner in which we enqueue the technique's batches. |
static class |
TechniqueConfig.EnqueuerWrapper
Wraps another enqueuer. |
static class |
TechniqueConfig.GroupedEnqueuer
Invokes some number of sub-enqueuers within a group. |
static class |
TechniqueConfig.NormalEnqueuer
Enqueues a single batch at a configurable priority. |
static class |
TechniqueConfig.RenderEffectDependency
A dependency on a render effect. |
static class |
TechniqueConfig.SkipColorClearDependency
A "dependency" that lets the compositor know that it can skip the color clear, because if we render something using this technique, then we know that we will be writing over all pixels. |
static class |
TechniqueConfig.StateContainer
A simple container for a set of states. |
static class |
TechniqueConfig.StencilReflectionDependency
A dependency on a stencil reflection. |
static class |
TechniqueConfig.StencilRefractionDependency
A dependency on a stencil refraction. |
static class |
TechniqueConfig.TechniqueDependency
Represents a dependency that must be resolved when rendering. |
| Field Summary | |
|---|---|
DeformerConfig |
deformer
The deformer to apply to the geometry. |
TechniqueConfig.TechniqueDependency[] |
dependencies
Basic material dependencies. |
TechniqueConfig.Enqueuer |
enqueuer
Determines what we actually enqueue for this technique. |
boolean |
receivesProjections
Whether or not this technique receives projections. |
String |
scheme
The render scheme with which this technique is associated. |
| Constructor Summary | |
|---|---|
TechniqueConfig()
|
|
| Method Summary | |
|---|---|
Compositable |
createCompositable(GlContext ctx,
Scope scope,
Geometry geometry)
Creates a compositable to render the supplied geometry using this technique. |
Compositable |
createCompositable(GlContext ctx,
Scope scope,
Geometry geometry,
RenderQueue.Group group)
Creates a compositable to render the supplied geometry using this technique. |
PassDescriptor[] |
getDescriptors(GlContext ctx)
Returns the cached descriptors for this technique's passes. |
RenderSchemeConfig |
getSchemeConfig(GlContext ctx)
Returns the cached configuration for the technique's render scheme. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the technique's update references to the provided set. |
void |
invalidate()
Invalidates any cached state for this config. |
boolean |
isSupported(GlContext ctx,
boolean fallback)
Determines whether this technique is supported. |
TechniqueConfig |
process(GlContext ctx,
boolean fallback)
Processes this technique to accommodate the features of the hardware. |
| 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(editor="config",
mode="render_scheme",
nullable=true,
hgroup="s")
public String scheme
@Editable(hgroup="s") public boolean receivesProjections
@Editable public TechniqueConfig.TechniqueDependency[] dependencies
@Editable(nullable=true) public DeformerConfig deformer
@Editable public TechniqueConfig.Enqueuer enqueuer
| Constructor Detail |
|---|
public TechniqueConfig()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
public TechniqueConfig process(GlContext ctx,
boolean fallback)
null if the technique is not supported.
public boolean isSupported(GlContext ctx,
boolean fallback)
public RenderSchemeConfig getSchemeConfig(GlContext ctx)
public PassDescriptor[] getDescriptors(GlContext ctx)
public Compositable createCompositable(GlContext ctx,
Scope scope,
Geometry geometry)
public Compositable createCompositable(GlContext ctx,
Scope scope,
Geometry geometry,
RenderQueue.Group group)
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||