org.jagatoo.loaders.textures.pixelprocessing
Class PixelProcessorRGB

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

public class PixelProcessorRGB
extends PixelProcessor

Red-Green-Blue Pixel Processor


Method Summary
static PixelProcessorRGB 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 PixelProcessorRGB 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