|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for accessing to a Texture.
Texture are a 2D image represented by an array of pixels color.
3DzzD use 32 bit integer to store pixels colors and 32 bit integer array to store Texture.
ITexture
,
IProgress
,
DzzD
Method Summary | |
void |
buildMipMap()
Compute MipMap for this Texture. |
int[] |
getPixels()
Gets this Texture pixel buffer |
int |
getPixelsHeight()
Gets this Texture pixel buffer height |
int |
getPixelsWidth()
Gets this Texture pixel buffer width |
int |
getType()
Gets this Texture type |
void |
setType(int type)
Sets this Texture type |
Methods inherited from interface net.dzzd.access.ISceneObject |
build, clearProperties, copy, getBuild, getId, getName, getProperty, getScene, setBuild, setId, setName, setProperty |
Methods inherited from interface net.dzzd.access.IMonitoredSceneObject |
copy |
Method Detail |
public void buildMipMap()
public int[] getPixels()
public int getPixelsWidth()
public int getPixelsHeight()
public void setType(int type)
type
- this Texture type: DzzD.TT_RGB,DzzD.TT_ARGB,DzzD.TT_NORMAL,DzzD.TT_HNORMAL etcpublic int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |