public class ColorTextureProjected2D extends FloatTextureProjected2D
Modifier and Type | Class and Description |
---|---|
static class |
ColorTextureProjected2D.SetDataMutator |
static class |
ColorTextureProjected2D.SetDataMutatorGrayscale |
FloatTextureProjected2D.MutatorFloat2D
Modifier and Type | Field and Description |
---|---|
static int |
FLOATS_PER_PIXEL |
BYTES_PER_FLOAT, NUM_DIMENSIONS, VERTICES_PER_QUAD
Constructor and Description |
---|
ColorTextureProjected2D() |
ColorTextureProjected2D(int dataSizeX,
int dataSizeY) |
ColorTextureProjected2D(int dataSizeX,
int dataSizeY,
boolean useVertexZCoord) |
Modifier and Type | Method and Description |
---|---|
void |
setData(BufferedImage image) |
void |
setData(BufferedImage image,
float alpha) |
void |
setData(double[][] data)
Updates this texture with new data values.
|
void |
setData(double[][][] data)
Updates this texture with new data values.
|
void |
setData(float[][] data)
Updates this texture with new data values.
|
void |
setData(float[][][] data) |
void |
setData(InputStream in) |
mutate, setData, setData
dispose, draw, draw, getDataValue, getDataValue, getDimensionSize, getHandles, getMaxGLTextureSize, getNumDimension, getProjection, isDirty, isResident, makeDirty, makeProjectionDirty, prepare, resize, setProjection
public static final int FLOATS_PER_PIXEL
public ColorTextureProjected2D()
public ColorTextureProjected2D(int dataSizeX, int dataSizeY)
public ColorTextureProjected2D(int dataSizeX, int dataSizeY, boolean useVertexZCoord)
public void setData(InputStream in) throws IOException
IOException
public void setData(BufferedImage image)
public void setData(BufferedImage image, float alpha)
public void setData(float[][][] data)
public void setData(double[][][] data)
data
- the new data values to load into this texture.public void setData(float[][] data)
FloatTextureProjected2D
setData
in class FloatTextureProjected2D
data
- the new data values to load into this texture.public void setData(double[][] data)
FloatTextureProjected2D
setData
in class FloatTextureProjected2D
data
- the new data values to load into this texture.Copyright © 2018 Metron, Inc.. All rights reserved.