com.jogamp.opengl.impl.glu.mipmap
Class Image

java.lang.Object
  extended by com.jogamp.opengl.impl.glu.mipmap.Image

public class Image
extends Object

Author:
Administrator

Constructor Summary
Image()
          Creates a new instance of Image
 
Method Summary
static void empty_image(PixelStorageModes psm, int width, int height, int format, int type, boolean index_format, ShortBuffer oldimage, ByteBuffer userdata)
           
static void emptyImage3D(PixelStorageModes psm, int width, int height, int depth, int format, int type, boolean indexFormat, ShortBuffer oldImage, ByteBuffer userImage)
           
static void fill_image(PixelStorageModes psm, int width, int height, int format, int type, boolean index_format, ByteBuffer userdata, ShortBuffer newimage)
           
static void fillImage3D(PixelStorageModes psm, int width, int height, int depth, int format, int type, boolean indexFormat, ByteBuffer userImage, ShortBuffer newImage)
           
static float getFloatFromByteArray(byte[] array, int index)
           
static int getIntFromByteArray(byte[] array, int index)
           
static short getShortFromByteArray(byte[] array, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Image

public Image()
Creates a new instance of Image

Method Detail

getShortFromByteArray

public static short getShortFromByteArray(byte[] array,
                                          int index)

getIntFromByteArray

public static int getIntFromByteArray(byte[] array,
                                      int index)

getFloatFromByteArray

public static float getFloatFromByteArray(byte[] array,
                                          int index)

fill_image

public static void fill_image(PixelStorageModes psm,
                              int width,
                              int height,
                              int format,
                              int type,
                              boolean index_format,
                              ByteBuffer userdata,
                              ShortBuffer newimage)

empty_image

public static void empty_image(PixelStorageModes psm,
                               int width,
                               int height,
                               int format,
                               int type,
                               boolean index_format,
                               ShortBuffer oldimage,
                               ByteBuffer userdata)

fillImage3D

public static void fillImage3D(PixelStorageModes psm,
                               int width,
                               int height,
                               int depth,
                               int format,
                               int type,
                               boolean indexFormat,
                               ByteBuffer userImage,
                               ShortBuffer newImage)

emptyImage3D

public static void emptyImage3D(PixelStorageModes psm,
                                int width,
                                int height,
                                int depth,
                                int format,
                                int type,
                                boolean indexFormat,
                                ShortBuffer oldImage,
                                ByteBuffer userImage)


Copyright 2010 JogAmp Community.