|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lwjgl.opengl.RenderTexture
public final class RenderTexture
This class represents the state necessary for render-to-texture.
| Field Summary | |
|---|---|
static int |
RENDER_TEXTURE_1D
The TEXTURE_1D target. |
static int |
RENDER_TEXTURE_2D
The TEXTURE_2D target. |
static int |
RENDER_TEXTURE_CUBE_MAP
The TEXTURE_CUBE_MAP target. |
static int |
RENDER_TEXTURE_RECTANGLE
The TEXTURE_RECTANGLE target. |
| Constructor Summary | |
|---|---|
RenderTexture(boolean useRGB,
boolean useRGBA,
boolean useDepth,
boolean isRectangle,
int target,
int mipmaps)
Creates a RenderTexture object for enabling render-to-texture on a P-buffer. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RENDER_TEXTURE_1D
public static final int RENDER_TEXTURE_2D
public static final int RENDER_TEXTURE_RECTANGLE
public static final int RENDER_TEXTURE_CUBE_MAP
| Constructor Detail |
|---|
public RenderTexture(boolean useRGB,
boolean useRGBA,
boolean useDepth,
boolean isRectangle,
int target,
int mipmaps)
useRGB - - When true the P-buffer can be used as an RGB render texture.useRGBA - - When true the P-buffer can be used as an RGBA render texture.useDepth - - When true the P-buffer can be used as a depth render texture.isRectangle - - When true rectangle textures will be allowed on the P-buffer.target - - The texture target of the render texture.mipmaps - - How many mipmap levels to allocate on the P-buffer.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||