public class JoglRenderBufferObject extends java.lang.Object implements IJoglFrameBufferAttachment
Constructor and Description |
---|
JoglRenderBufferObject(GraphicsPipeline pipe,
int width,
int height,
int bufferType) |
Modifier and Type | Method and Description |
---|---|
void |
attach(GraphicsPipeline pipe,
int attachPoint) |
void |
Bind(com.jogamp.opengl.GL2 gl) |
void |
Dispose(com.jogamp.opengl.GL2 gl) |
int |
getRenderBufferId() |
boolean |
isDisposed() |
boolean |
isLoaded() |
void |
load(GraphicsPipeline pipe) |
void |
Unbind(com.jogamp.opengl.GL2 gl) |
void |
unload(GraphicsPipeline pipe) |
public JoglRenderBufferObject(GraphicsPipeline pipe, int width, int height, int bufferType)
public int getRenderBufferId()
public boolean isLoaded()
isLoaded
in interface IGLResource
public void load(GraphicsPipeline pipe)
load
in interface IGLResource
public void attach(GraphicsPipeline pipe, int attachPoint)
attach
in interface IJoglFrameBufferAttachment
public void Dispose(com.jogamp.opengl.GL2 gl)
public void unload(GraphicsPipeline pipe)
unload
in interface IGLResource
public void Bind(com.jogamp.opengl.GL2 gl)
public void Unbind(com.jogamp.opengl.GL2 gl)
public boolean isDisposed()