public interface GL3Resource extends GLResource
Modifier and Type | Method and Description |
---|---|
GL3Resource |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
dispose(com.jogamp.opengl.GL3 gl)
Discard data, regardless of references
|
boolean |
disposeInvalid(com.jogamp.opengl.GL3 gl)
Dispose data if the resource is in an invalid state
|
boolean |
disposeUnreferenced(com.jogamp.opengl.GL3 gl)
Dispose if there are currently no held references
|
boolean |
releaseDispose(com.jogamp.opengl.GL3 gl)
Release reference and dispose if there are no
more references
|
dispose, disposeInvalid, disposeUnreferenced, isDisposed, isValid, releaseDispose
acquireAndCount, getReferenceCount, release, releaseAndCount
void dispose(com.jogamp.opengl.GL3 gl)
gl
- active contextboolean disposeInvalid(com.jogamp.opengl.GL3 gl)
gl
- active contextboolean disposeUnreferenced(com.jogamp.opengl.GL3 gl)
gl
- active contextboolean releaseDispose(com.jogamp.opengl.GL3 gl)
gl
- active contextGL3Resource acquire()
ReferenceCounted
acquire
in interface GLResource
acquire
in interface ReferenceCounted