public class RGBTextureProjected2D extends TextureProjected2D
Modifier and Type | Field and Description |
---|---|
static int |
BYTES_PER_PIXEL |
BYTES_PER_FLOAT, NUM_DIMENSIONS, VERTICES_PER_QUAD
Constructor and Description |
---|
RGBTextureProjected2D(BufferedImage img) |
RGBTextureProjected2D(int dataSizeX,
int dataSizeY) |
RGBTextureProjected2D(int dataSizeX,
int dataSizeY,
boolean useVertexZCoord) |
Modifier and Type | Method and Description |
---|---|
void |
mutate(ByteTextureProjected2D.MutatorByte2D mutator)
For modifying the byte buffer directly, pixels should be packed as RGB.
|
void |
setData(BufferedImage image) |
void |
setData(InputStream in) |
dispose, draw, draw, getDataValue, getDataValue, getDimensionSize, getHandles, getMaxGLTextureSize, getNumDimension, getProjection, isDirty, isResident, makeDirty, makeProjectionDirty, prepare, resize, setProjection
public static final int BYTES_PER_PIXEL
public RGBTextureProjected2D(BufferedImage img)
public RGBTextureProjected2D(int dataSizeX, int dataSizeY)
public RGBTextureProjected2D(int dataSizeX, int dataSizeY, boolean useVertexZCoord)
public void setData(InputStream in) throws IOException
IOException
public void setData(BufferedImage image)
public void mutate(ByteTextureProjected2D.MutatorByte2D mutator)
mutator
- Copyright © 2016 Metron, Inc.. All rights reserved.