public interface Texture
Texture is a model of a texture.| Modifier and Type | Field and Description |
|---|---|
static int |
RELATIVE_OFFSET_SIZE
The relative offset of the Size parameter in the
float array. |
static int |
RELATIVE_OFFSET_TYPE
The relative offset of the Type parameter in the
float array. |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize()
Returns the size of this
Texture instance. |
int |
getType()
Returns the type of this
Texture instance. |
boolean |
isEmissive()
Returns
true if, and only if, this Texture instance is emissive, false otherwise. |
float[] |
toArray()
Returns a
float array representation of this Texture instance. |
static final int RELATIVE_OFFSET_SIZE
float array. The value is 1.static final int RELATIVE_OFFSET_TYPE
float array. The value is 0.boolean isEmissive()
true if, and only if, this Texture instance is emissive, false otherwise.true if, and only if, this Texture instance is emissive, false otherwisefloat[] toArray()
float array representation of this Texture instance.float array representation of this Texture instanceint getSize()
Texture instance.Texture instanceint getType()
Texture instance.Texture instance