public class Framebuffer extends java.lang.Object implements RenderResource
| Constructor and Description |
|---|
Framebuffer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
attachTexture(DrawContext dc,
Texture texture,
int attachment) |
boolean |
bindFramebuffer(DrawContext dc) |
Texture |
getAttachedTexture(int attachment) |
boolean |
isFramebufferComplete(DrawContext dc) |
void |
release(DrawContext dc)
Frees any resources associated with this instance.
|
public void release(DrawContext dc)
RenderResourcerelease in interface RenderResourcedc - the current draw contextpublic boolean bindFramebuffer(DrawContext dc)
public boolean attachTexture(DrawContext dc, Texture texture, int attachment)
public Texture getAttachedTexture(int attachment)
public boolean isFramebufferComplete(DrawContext dc)