Aviatrix3D
2.1.0

org.j3d.aviatrix3d.iutil
Interface SubTextureUpdateListener

All Known Implementing Classes:
TextureUpdateStateManager

public interface SubTextureUpdateListener

Internal interface used to communicate update notifications for the source data used for textures.

Version:
$Revision: 1.2 $
Author:
Justin Couch

Method Summary
 void textureUpdated(int x, int y, int z, int width, int height, int depth, int level, byte[] pixels)
          Notification that the texture has updated a section of the texture.
 

Method Detail

textureUpdated

void textureUpdated(int x,
                    int y,
                    int z,
                    int width,
                    int height,
                    int depth,
                    int level,
                    byte[] pixels)
Notification that the texture has updated a section of the texture. This is generic for all textures correctly. If a coordinate is not used, it will be set to 0 for position and 1 for width.

Parameters:
x - The start location x coordinate in texel space
y - The start location y coordinate in texel space
z - The start location z coordinate in texel space
width - The width of the update in texel space
height - The height of the update in texel space
depth - The depth of the update in texel space
level - The mipmap level that changed
pixels - Buffer of the data that has updated

Aviatrix3D
2.1.0

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