de.grogra.imp3d.glsl.utility
public class TextureRenderTarget extends GLSLTexture implements FBOAttachment
| Modifier and Type | Field and Description |
|---|---|
static int |
DEPTHUB |
static int |
RGBA16F |
static int |
RGBA16US |
static int |
RGBA32F |
static int |
RGBA8UB |
height, index, internalFormat, texType, type, width| Constructor and Description |
|---|
TextureRenderTarget() |
| Modifier and Type | Method and Description |
|---|---|
void |
attachToFbo(OpenGLState glState,
int ATTACHMENT_POINT) |
void |
bindTo(OpenGLState glState,
int targetTexNo) |
void |
create(OpenGLState glState,
int FORMAT) |
void |
create(OpenGLState glState,
int FORMAT,
int type) |
void |
delete(OpenGLState glState,
boolean javaonly) |
void |
resize(OpenGLState glState) |
java.lang.String |
toString() |
bindTo, cleanup, delete, estimateSizeInByte, getHeight, getIndex, getTexType, getType, getWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitestimateSizeInBytepublic static final int DEPTHUB
public static final int RGBA16F
public static final int RGBA16US
public static final int RGBA32F
public static final int RGBA8UB
public void attachToFbo(OpenGLState glState, int ATTACHMENT_POINT)
attachToFbo in interface FBOAttachmentpublic void bindTo(OpenGLState glState, int targetTexNo)
public void create(OpenGLState glState, int FORMAT)
create in interface FBOAttachmentpublic void create(OpenGLState glState, int FORMAT, int type)
public void delete(OpenGLState glState, boolean javaonly)
delete in interface FBOAttachmentpublic void resize(OpenGLState glState)
resize in interface FBOAttachmentpublic java.lang.String toString()
toString in class java.lang.Object