public class GLRenderBuffer extends GLResourceBase
| Constructor and Description |
|---|
GLRenderBuffer(int id) |
| Modifier and Type | Method and Description |
|---|---|
GLRenderBuffer |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bind(com.jogamp.opengl.GL gl) |
void |
configure(com.jogamp.opengl.GL gl,
int width,
int height,
int format,
int nsamples) |
void |
dispose(com.jogamp.opengl.GL gl)
Discard data, regardless of existing references
|
static GLRenderBuffer |
generate(com.jogamp.opengl.GL gl) |
int |
getFormat() |
int |
getHeight() |
int |
getId() |
int |
getNumSamples() |
int |
getWidth() |
boolean |
isDisposed()
Returns true if resource has been disposed
|
boolean |
isMultisample() |
void |
unbind(com.jogamp.opengl.GL gl) |
disposeInvalid, disposeUnreferenced, isValid, releaseDisposeacquireAndCount, getReferenceCount, release, releaseAndCountequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquireAndCount, getReferenceCount, release, releaseAndCountpublic void bind(com.jogamp.opengl.GL gl)
public void configure(com.jogamp.opengl.GL gl,
int width,
int height,
int format,
int nsamples)
public int getId()
public int getWidth()
public int getHeight()
public int getFormat()
public int getNumSamples()
public boolean isMultisample()
public void unbind(com.jogamp.opengl.GL gl)
public GLRenderBuffer acquire()
ReferenceCountedacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GLResourceBasepublic void dispose(com.jogamp.opengl.GL gl)
GLResourcedispose in interface GLResourcedispose in class GLResourceBasepublic boolean isDisposed()
GLResourceisDisposed in interface GLResourceisDisposed in class GLResourceBasepublic static GLRenderBuffer generate(com.jogamp.opengl.GL gl)