public interface GL3SharedDrawable extends GL3Resource
| Modifier and Type | Method and Description |
|---|---|
GL3SharedDrawable |
acquire()
Signal the resource that something is holding a reference to it.
|
void |
bind(com.jogamp.opengl.GL3 gl)
Binds attributes to the currently active GL object
|
void |
draw(com.jogamp.opengl.GL3 gl)
Draw to the provided active context
|
void |
drawInstanced(com.jogamp.opengl.GL3 gl,
int instanceCount)
Draw using instanced rendering to the active context
|
boolean |
equals(GL3SharedDrawable other)
Compares to another drawable to see if same
|
int |
getBindVersion()
A version number corresponding to the necessary bound state
of the drawable's attributes.
|
int |
hashCode()
Unique hashcode for identifying object
|
dispose, disposeInvalid, disposeUnreferenced, releaseDisposedispose, disposeInvalid, disposeUnreferenced, isDisposed, isValid, releaseDisposeacquireAndCount, getReferenceCount, release, releaseAndCountint getBindVersion()
void bind(com.jogamp.opengl.GL3 gl)
gl - active contextGL3SharedDrawable acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedvoid draw(com.jogamp.opengl.GL3 gl)
gl - active contextvoid drawInstanced(com.jogamp.opengl.GL3 gl,
int instanceCount)
gl - context handleinstanceCount - number of instancesboolean equals(GL3SharedDrawable other)
other - drawable to compare toint hashCode()
hashCode in class java.lang.Object