org.jagatoo.loaders.textures.pixelprocessing
Class PixelProcessorLUM

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

public class PixelProcessorLUM
extends PixelProcessor

Luminance Pixel Processor


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