org.jagatoo.loaders.textures.pixelprocessing
Class PixelProcessorRGBA

java.lang.Object
  extended by org.jagatoo.loaders.textures.pixelprocessing.PixelProcessor
      extended by org.jagatoo.loaders.textures.pixelprocessing.PixelProcessorRGBA

public class PixelProcessorRGBA
extends PixelProcessor

Red-Green-Blue-Alpha Pixel Processor


Method Summary
static PixelProcessorRGBA getInstance()
           
 TextureImageFormat getTextureImageFormat()
           
 int readImageData(java.awt.image.BufferedImage img, int startX, int startY, int width, int height, java.nio.ByteBuffer trg, int trgOffset, boolean flipVertically)
           
 
Methods inherited from class org.jagatoo.loaders.textures.pixelprocessing.PixelProcessor
calcMipMap, createTextureImage, getLineSize, getPixelSize, getStartOffset, selectPixelProcessor, selectPixelProcessor, selectPixelProcessor, selectPixelProcessor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static PixelProcessorRGBA getInstance()

getTextureImageFormat

public final TextureImageFormat getTextureImageFormat()
Specified by:
getTextureImageFormat in class PixelProcessor

readImageData

public int readImageData(java.awt.image.BufferedImage img,
                         int startX,
                         int startY,
                         int width,
                         int height,
                         java.nio.ByteBuffer trg,
                         int trgOffset,
                         boolean flipVertically)
Specified by:
readImageData in class PixelProcessor