|
||||||||||
| 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.TextureStateConfig
public class TextureStateConfig
Configurable texture state.
| Field Summary | |
|---|---|
boolean |
uniqueInstance
If true, do not use a shared instance. |
TextureUnitConfig[] |
units
The texture unit configurations. |
| Constructor Summary | |
|---|---|
TextureStateConfig()
|
|
| Method Summary | |
|---|---|
TextureState |
getState(GlContext ctx,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
Returns the corresponding texture state. |
void |
getUpdateReferences(ConfigReferenceSet refs)
Adds the state's update references to the provided set. |
void |
invalidate()
Invalidates the config's cached data. |
boolean |
isSupported(GlContext ctx,
boolean fallback)
Determines whether this state is supported by the hardware. |
void |
populateDescriptor(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 |
| Field Detail |
|---|
@Editable public boolean uniqueInstance
@Editable public TextureUnitConfig[] units
| Constructor Detail |
|---|
public TextureStateConfig()
| Method Detail |
|---|
public void getUpdateReferences(ConfigReferenceSet refs)
public boolean isSupported(GlContext ctx,
boolean fallback)
public void populateDescriptor(PassDescriptor desc)
public TextureState getState(GlContext ctx,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
public void invalidate()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||