public abstract class GL3SharedRenderObjectBase extends GL3ResourceBase
traceHistorySize, traceReferences| Modifier and Type | Method and Description |
|---|---|
GL3SharedRenderObjectBase |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bindVertices(com.jogamp.opengl.GL3 gl) |
void |
dispose(com.jogamp.opengl.GL3 gl)
Discard data, regardless of references
|
int |
getBindVersion() |
RenderObject.RenderObjectIdentifier |
getRenderObjectIdentifier() |
boolean |
isDisposed()
Returns true if resource has been disposed
|
boolean |
isValid()
Returns true if resource can be used (i.e.
|
void |
setDeferredDeleteQueue(GLDeferredDeleteQueue queue)
Installs the queue used to defer the GL deletion of this object's buffers
to a render thread.
|
void |
unbindVertices(com.jogamp.opengl.GL3 gl) |
dispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDisposereleaseDisposeDeferredacquireAndCount, getReferenceCount, release, releaseAndCountequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquireAndCount, getReferenceCount, release, releaseAndCountpublic RenderObject.RenderObjectIdentifier getRenderObjectIdentifier()
public boolean isValid()
GLResourceisValid in interface GLResourceisValid in class GLResourceBasetrue if the resource can be usedpublic int getBindVersion()
public void dispose(com.jogamp.opengl.GL3 gl)
GL3Resourcedispose in interface GL3Resourcedispose in class GL3ResourceBasegl - active contextpublic void setDeferredDeleteQueue(GLDeferredDeleteQueue queue)
public boolean isDisposed()
GLResourceisDisposed in interface GLResourceisDisposed in class GLResourceBasepublic GL3SharedRenderObjectBase acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class GL3ResourceBasepublic void bindVertices(com.jogamp.opengl.GL3 gl)
public void unbindVertices(com.jogamp.opengl.GL3 gl)