Aviatrix3D
2.1.0

org.j3d.aviatrix3d.iutil
Class TextureUpdateData

java.lang.Object
  extended by org.j3d.aviatrix3d.iutil.TextureUpdateData

public class TextureUpdateData
extends java.lang.Object

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.

Version:
$Revision: 1.2 $
Author:
Justin Couch

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

x

public int x
The start location x coordinate in texel space.


y

public int y
The start location y coordinate in texel space.


z

public int z
The start location z coordinate in texel space.


width

public int width
The width of the update in texel space.


height

public int height
The height of the update in texel space.


depth

public int depth
The depth of the update in texel space.


level

public int level
Which level this relates to in the mipmap space.


format

public int format
The format (RGB, INTENSITY etc) of the data. Must be a GL constant, and not one of the Aviatrix3D texture constants.


pixels

public java.nio.ByteBuffer pixels
Buffer of the data that has updated.

Constructor Detail

TextureUpdateData

public TextureUpdateData()

Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org