public class ByteTextureProjected2D extends TextureProjected2D
Modifier and Type | Class and Description |
---|---|
static interface |
ByteTextureProjected2D.MutatorByte2D |
static class |
ByteTextureProjected2D.SetDataMutator |
BYTES_PER_FLOAT, NUM_DIMENSIONS, VERTICES_PER_QUAD
Constructor and Description |
---|
ByteTextureProjected2D(int dataSizeX,
int dataSizeY) |
ByteTextureProjected2D(int dataSizeX,
int dataSizeY,
boolean useVertexZCoord) |
Modifier and Type | Method and Description |
---|---|
void |
mutate(ByteTextureProjected2D.MutatorByte2D mutator)
Provides a general, thread-safe mechanism for arbitrarily updating the
data values for this Texture.
|
void |
setData(byte[][] data)
Updates this texture with new data values.
|
void |
setData(byte[][] data,
boolean flip) |
dispose, draw, draw, getDataValue, getDataValue, getDimensionSize, getHandles, getMaxGLTextureSize, getNumDimension, getProjection, isDirty, isResident, makeDirty, makeProjectionDirty, prepare, resize, setProjection
public ByteTextureProjected2D(int dataSizeX, int dataSizeY)
public ByteTextureProjected2D(int dataSizeX, int dataSizeY, boolean useVertexZCoord)
public void setData(byte[][] data)
data
- the new data values to load into this texture.public void setData(byte[][] data, boolean flip)
public void mutate(ByteTextureProjected2D.MutatorByte2D mutator)
mutator
- a class defining the operation which should be applied to
the texture data.Copyright © 2016 Metron, Inc.. All rights reserved.