|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.opengl.material.Surface
public class Surface
A renderable surface.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
Surface(GlContext ctx,
Scope parentScope,
GeometryConfig geometryConfig,
MaterialConfig materialConfig)
Creates a new surface. |
|
Surface(GlContext ctx,
Scope parentScope,
GeometryConfig geometryConfig,
MaterialConfig materialConfig,
RenderQueue.Group group)
Creates a new surface. |
|
Surface(GlContext ctx,
Scope parentScope,
Geometry geometry,
MaterialConfig materialConfig)
Creates a new surface. |
|
Surface(GlContext ctx,
Scope parentScope,
Geometry geometry,
MaterialConfig materialConfig,
RenderQueue.Group group)
Creates a new surface. |
|
| Method Summary | |
|---|---|
void |
composite()
Adds this object's Dependencys and Enqueueables to the compositor in
preparation for rendering. |
void |
configUpdated(ConfigEvent<MaterialConfig> event)
Called when a configuration has been updated. |
void |
dispose()
Releases the resources associated with this scope. |
MaterialConfig |
getMaterialConfig()
Returns a reference to this surface's material configuration. |
String |
getScopeName()
Returns the name of this scope for purposes of qualification. |
void |
setMaterialConfig(MaterialConfig config)
Sets the material configuration of this surface. |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Surface(GlContext ctx,
Scope parentScope,
GeometryConfig geometryConfig,
MaterialConfig materialConfig)
public Surface(GlContext ctx,
Scope parentScope,
GeometryConfig geometryConfig,
MaterialConfig materialConfig,
RenderQueue.Group group)
public Surface(GlContext ctx,
Scope parentScope,
Geometry geometry,
MaterialConfig materialConfig)
public Surface(GlContext ctx,
Scope parentScope,
Geometry geometry,
MaterialConfig materialConfig,
RenderQueue.Group group)
| Method Detail |
|---|
public void setMaterialConfig(MaterialConfig config)
public MaterialConfig getMaterialConfig()
public void composite()
CompositableDependencys and Enqueueables to the compositor in
preparation for rendering.
composite in interface Compositablepublic void configUpdated(ConfigEvent<MaterialConfig> event)
ConfigUpdateListener
configUpdated in interface ConfigUpdateListener<MaterialConfig>public String getScopeName()
Scopenull
if qualified symbols cannot specifically address this scope.
getScopeName in interface ScopegetScopeName in class SimpleScopepublic void dispose()
SimpleScope
dispose in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||