|
||||||||||
| 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.ShaderStateConfig
@EditorTypes(value={ShaderStateConfig.Disabled.class,ShaderStateConfig.Enabled.class})
public abstract class ShaderStateConfigConfigurable shader state.
| Nested Class Summary | |
|---|---|
static class |
ShaderStateConfig.Disabled
Disables the shader. |
static class |
ShaderStateConfig.Enabled
Enables the shader. |
| Constructor Summary | |
|---|---|
ShaderStateConfig()
|
|
| Method Summary | |
|---|---|
abstract ShaderState |
getState(GlContext ctx,
Scope scope,
RenderState[] states,
List<Updater> updaters)
Returns the corresponding shader state. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the state's update references to the provided set. |
abstract boolean |
isSupported(GlContext ctx,
boolean fallback)
Determines whether this state is supported by the hardware. |
void |
populateDescriptor(GlContext ctx,
PassDescriptor desc)
Populates the relevant portion of the supplied descriptor. |
| 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 |
| Constructor Detail |
|---|
public ShaderStateConfig()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
public abstract boolean isSupported(GlContext ctx,
boolean fallback)
public void populateDescriptor(GlContext ctx,
PassDescriptor desc)
public abstract ShaderState getState(GlContext ctx,
Scope scope,
RenderState[] states,
List<Updater> updaters)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||