public class GlTextureFrameBuffer
extends java.lang.Object
Constructor and Description |
---|
GlTextureFrameBuffer(int pixelFormat)
Generate texture and framebuffer resources.
|
Modifier and Type | Method and Description |
---|---|
int |
getFrameBufferId()
Gets the OpenGL frame buffer id.
|
int |
getHeight() |
int |
getTextureId()
Gets the OpenGL texture id.
|
int |
getWidth() |
void |
release()
Release texture and framebuffer.
|
void |
setSize(int width,
int height)
(Re)allocate texture.
|
public GlTextureFrameBuffer(int pixelFormat)
public void setSize(int width, int height)
public int getWidth()
public int getHeight()
public int getFrameBufferId()
public int getTextureId()
public void release()
6.0.0