|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.aviatrix3d.iutil.TextureUpdateData
public class TextureUpdateData
Internal data-holder class that holds the specs of the notification about sub-image updates for a texture.
The class does not know anything about the type of texture it is supposed to be updating. Thus, it is entirely dependent on the various users to make sure they do sane things. For example, a 2D texture component only gets used with a 2D texture. For the coordinate dimensions that are not used, for safety, the location should be set to 0 and the distance set to 1.
Field Summary | |
---|---|
int |
depth
The depth of the update in texel space. |
int |
format
The format (RGB, INTENSITY etc) of the data. |
int |
height
The height of the update in texel space. |
int |
level
Which level this relates to in the mipmap space. |
java.nio.ByteBuffer |
pixels
Buffer of the data that has updated. |
int |
width
The width of the update in texel space. |
int |
x
The start location x coordinate in texel space. |
int |
y
The start location y coordinate in texel space. |
int |
z
The start location z coordinate in texel space. |
Constructor Summary | |
---|---|
TextureUpdateData()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int x
public int y
public int z
public int width
public int height
public int depth
public int level
public int format
public java.nio.ByteBuffer pixels
Constructor Detail |
---|
public TextureUpdateData()
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |