public class FloatTexture2D extends AbstractTexture implements DrawableTexture
Modifier and Type | Class and Description |
---|---|
static interface |
FloatTexture2D.MutatorFloat2D |
Constructor and Description |
---|
FloatTexture2D(double[] min,
double[] max,
int n0,
int n1,
boolean centers) |
Modifier and Type | Method and Description |
---|---|
void |
draw(javax.media.opengl.GL2 gl,
int texUnit,
Collection<TextureUnit<Texture>> multiTextureList) |
void |
mutate(FloatTexture2D.MutatorFloat2D mutator) |
dispose, getDimensionSize, getHandles, getNumDimension, isDirty, isResident, makeDirty, prepare
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, getDimensionSize, getHandles, getNumDimension, isDirty, isResident, makeDirty, prepare
public FloatTexture2D(double[] min, double[] max, int n0, int n1, boolean centers)
public void draw(javax.media.opengl.GL2 gl, int texUnit, Collection<TextureUnit<Texture>> multiTextureList)
draw
in interface DrawableTexture
gl
- OpenGL context for drawingtexUnit
- Texture unit to use while drawingmultiTextureList
- Other textures to activate (and their texture units) for multitexturing purposespublic void mutate(FloatTexture2D.MutatorFloat2D mutator)
Copyright © 2016 Metron, Inc.. All rights reserved.