java.lang.Object
de.grogra.glsl.utility.GLSLTexture
de.grogra.glsl.utility.GLSLQueuedTexture
de.grogra.glsl.utility.GLSLQueuedFloatTexture
- All Implemented Interfaces:
GLSLOpenGLObject
-
Field Summary
Fields inherited from class de.grogra.glsl.utility.GLSLTexture
height, index, internalFormat, texType, type, width
-
Constructor Summary
-
Method Summary
Methods inherited from class de.grogra.glsl.utility.GLSLTexture
bindTo, cleanup, delete, estimateSizeInByte, getHeight, getIndex, getTexType, getType, getWidth
-
Constructor Details
-
GLSLQueuedFloatTexture
public GLSLQueuedFloatTexture()
-
-
Method Details
-
setData
public void setData(int width, int height, float[] data) -
getIndex
public int getIndex(javax.media.opengl.GL gl) - Overrides:
getIndex
in classGLSLQueuedTexture
- Returns:
- the index
-