|
||||||||||
| 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.TextureConfig.Implementation
com.threerings.opengl.renderer.config.TextureConfig.BaseDerived
com.threerings.opengl.renderer.config.TextureConfig.Refraction
public static class TextureConfig.Refraction
A planar refraction texture.
| Field Summary | |
|---|---|
boolean |
back
Whether to enable rendering to the front and back. |
float |
destIndex
The index of refraction of the destination material. |
boolean |
front
Whether to enable rendering to the front and back. |
int |
maxDepth
The maximum allowable depth. |
float |
sourceIndex
The index of refraction of the source material. |
| Fields inherited from class com.threerings.opengl.renderer.config.TextureConfig.BaseDerived |
|---|
texture |
| Constructor Summary | |
|---|---|
TextureConfig.Refraction()
|
|
| Method Summary | |
|---|---|
Texture |
getTexture(GlContext ctx,
TextureState state,
TextureUnit unit,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
Returns the (possibly dynamic) texture corresponding to this configuration. |
| Methods inherited from class com.threerings.opengl.renderer.config.TextureConfig.BaseDerived |
|---|
getUpdateReferences, isSupported |
| Methods inherited from class com.threerings.opengl.renderer.config.TextureConfig.Implementation |
|---|
getFromPool, getTexture, getUpdateResources, invalidate, returnToPool |
| 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(hgroup="f") public boolean front
@Editable(hgroup="f") public boolean back
@Editable(min=0.0,
hgroup="f")
public int maxDepth
@Editable(min=0.0,
step=0.01,
hgroup="n")
public float sourceIndex
@Editable(min=0.0,
step=0.01,
hgroup="n")
public float destIndex
| Constructor Detail |
|---|
public TextureConfig.Refraction()
| Method Detail |
|---|
public Texture getTexture(GlContext ctx,
TextureState state,
TextureUnit unit,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
TextureConfig.Implementation
getTexture in class TextureConfig.BaseDerived
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||