de.grogra.imp3d.glsl.utility
public class GLSLTexture extends java.lang.Object implements GLSLOpenGLObject
| Modifier and Type | Field and Description |
|---|---|
protected int |
height |
protected int |
index |
protected int |
internalFormat |
protected int |
texType |
protected int |
type |
protected int |
width |
| Constructor and Description |
|---|
GLSLTexture() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindTo(javax.media.opengl.GL gl,
int targetTexNo) |
void |
cleanup(OpenGLState glState,
boolean javaOnly) |
void |
delete(javax.media.opengl.GL gl,
boolean javaonly)
Delete this texture from OpenGL texture memory.
|
int |
estimateSizeInByte() |
int |
getHeight() |
int |
getIndex() |
int |
getTexType() |
int |
getType() |
int |
getWidth() |
protected int height
protected int index
protected int internalFormat
protected int texType
protected int type
protected int width
public void bindTo(javax.media.opengl.GL gl,
int targetTexNo)
public void cleanup(OpenGLState glState, boolean javaOnly)
cleanup in interface GLSLOpenGLObjectpublic void delete(javax.media.opengl.GL gl,
boolean javaonly)
gl - public int estimateSizeInByte()
public int getHeight()
public int getIndex()
public int getTexType()
public int getType()
public int getWidth()