public class GL2DisplayList extends GL2ResourceBase
Constructor and Description |
---|
GL2DisplayList(int id) |
GL2DisplayList(int baseId,
int count) |
Modifier and Type | Method and Description |
---|---|
GL2DisplayList |
acquire()
Signal the resource that something is holding a reference to it.
|
static GL2DisplayList |
allocate(com.jogamp.opengl.GL2 gl,
int count) |
void |
compile(com.jogamp.opengl.GL2 gl) |
void |
compile(com.jogamp.opengl.GL2 gl,
int idx) |
void |
compileAndExecute(com.jogamp.opengl.GL2 gl) |
void |
compileAndExecute(com.jogamp.opengl.GL2 gl,
int idx) |
void |
dispose(com.jogamp.opengl.GL2 gl)
Discard data, regardless of references
|
void |
end(com.jogamp.opengl.GL2 gl) |
void |
execute(com.jogamp.opengl.GL2 gl) |
void |
execute(com.jogamp.opengl.GL2 gl,
int idx) |
void |
executeAll(com.jogamp.opengl.GL2 gl) |
int |
getCount() |
int |
getListId() |
boolean |
isDisposed()
Returns true if resource has been disposed
|
dispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDispose
isValid
acquireAndCount, getReferenceCount, release, releaseAndCount
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isValid
acquireAndCount, getReferenceCount, release, releaseAndCount
public GL2DisplayList(int id)
public GL2DisplayList(int baseId, int count)
public void compile(com.jogamp.opengl.GL2 gl)
public void compile(com.jogamp.opengl.GL2 gl, int idx)
public void compileAndExecute(com.jogamp.opengl.GL2 gl)
public void compileAndExecute(com.jogamp.opengl.GL2 gl, int idx)
public void end(com.jogamp.opengl.GL2 gl)
public void execute(com.jogamp.opengl.GL2 gl)
public void execute(com.jogamp.opengl.GL2 gl, int idx)
public void executeAll(com.jogamp.opengl.GL2 gl)
public int getListId()
public int getCount()
public void dispose(com.jogamp.opengl.GL2 gl)
GL2Resource
dispose
in interface GL2Resource
dispose
in class GL2ResourceBase
public boolean isDisposed()
GLResource
isDisposed
in interface GLResource
isDisposed
in class GLResourceBase
public GL2DisplayList acquire()
ReferenceCounted
acquire
in interface GL2Resource
acquire
in interface GLResource
acquire
in interface ReferenceCounted
acquire
in class GL2ResourceBase
public static GL2DisplayList allocate(com.jogamp.opengl.GL2 gl, int count)