|
||||||||||
| 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.TextureUnitConfig
public class TextureUnitConfig
Contains the configuration of a single texture unit.
| Field Summary | |
|---|---|
TextureCoordGenConfig |
coordGenQ
The texture coordinate generation function for the q coordinate. |
TextureCoordGenConfig |
coordGenR
The texture coordinate generation function for the r coordinate. |
TextureCoordGenConfig |
coordGenS
The texture coordinate generation function for the s coordinate. |
TextureCoordGenConfig |
coordGenT
The texture coordinate generation function for the t coordinate. |
int |
coordSet
The texture coordinate set to use. |
TextureEnvironmentConfig |
environment
The texture environment. |
ConfigReference<TextureConfig> |
texture
A reference to the texture to bind to the unit. |
Transform3D |
transform
The texture transform. |
| Constructor Summary | |
|---|---|
TextureUnitConfig()
|
|
| Method Summary | |
|---|---|
TextureUnit |
createUnit(GlContext ctx,
TextureState state,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
Creates the texture unit corresponding to this configuration. |
boolean |
isSupported(GlContext ctx,
boolean fallback)
Checks whether the unit configuration is supported. |
| 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(nullable=true) public ConfigReference<TextureConfig> texture
@Editable public TextureEnvironmentConfig environment
@Editable(min=0.0) public int coordSet
@Editable(nullable=true) public TextureCoordGenConfig coordGenS
@Editable(nullable=true) public TextureCoordGenConfig coordGenT
@Editable(nullable=true)
@EditorTypes(value={TextureCoordGenConfig.ObjectLinear.class,TextureCoordGenConfig.EyeLinear.class,TextureCoordGenConfig.NormalMap.class,TextureCoordGenConfig.ReflectionMap.class})
public TextureCoordGenConfig coordGenR
@Editable(nullable=true)
@EditorTypes(value={TextureCoordGenConfig.ObjectLinear.class,TextureCoordGenConfig.EyeLinear.class})
public TextureCoordGenConfig coordGenQ
@Editable(step=0.01) public Transform3D transform
| Constructor Detail |
|---|
public TextureUnitConfig()
| Method Detail |
|---|
public boolean isSupported(GlContext ctx,
boolean fallback)
public TextureUnit createUnit(GlContext ctx,
TextureState state,
Scope scope,
List<Dependency.Adder> adders,
List<Updater> updaters)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||