public class DwGLFrameBuffer extends Object
Modifier and Type | Field and Description |
---|---|
int[] |
color_attachments |
GL2ES2 |
gl |
int[] |
HANDLE_fbo |
boolean |
IS_ACTIVE |
Constructor and Description |
---|
DwGLFrameBuffer() |
DwGLFrameBuffer(GL2ES2 gl) |
Modifier and Type | Method and Description |
---|---|
void |
allocate(GL2ES2 gl) |
void |
bind() |
void |
bind(DwGLTexture... tex) |
void |
bind(int... HANDLE_tex) |
void |
clearTexture(float v,
DwGLTexture... tex) |
void |
clearTexture(float r,
float g,
float b,
float a,
DwGLTexture... tex) |
boolean |
isActive() |
void |
release() |
void |
setRenderBuffer(int HANDLE_rbo,
boolean depth,
boolean stencil) |
void |
unbind() |
public GL2ES2 gl
public int[] HANDLE_fbo
public int[] color_attachments
public boolean IS_ACTIVE
public DwGLFrameBuffer()
public DwGLFrameBuffer(GL2ES2 gl)
public void release()
public void allocate(GL2ES2 gl)
public void bind()
public void bind(int... HANDLE_tex)
public void bind(DwGLTexture... tex)
public void unbind()
public boolean isActive()
public void clearTexture(float r, float g, float b, float a, DwGLTexture... tex)
public void clearTexture(float v, DwGLTexture... tex)
public void setRenderBuffer(int HANDLE_rbo, boolean depth, boolean stencil)
Processing library PixelFlow by Thomas Diewald. (c) 2017