public class GL3SharedPrimitive extends GL3SharedObject
Modifier and Type | Class and Description |
---|---|
static class |
GL3SharedPrimitive.AxesKey |
static class |
GL3SharedPrimitive.ConeKey |
static class |
GL3SharedPrimitive.CubeKey |
static class |
GL3SharedPrimitive.CylinderKey |
static class |
GL3SharedPrimitive.PrimitiveKey |
static class |
GL3SharedPrimitive.PrimitiveType |
static class |
GL3SharedPrimitive.SphereKey |
static class |
GL3SharedPrimitive.SpindleKey |
GL3SharedObject.DrawType
Constructor and Description |
---|
GL3SharedPrimitive(GL3SharedPrimitive.PrimitiveKey key,
GL3VertexAttributeArray[] attributes,
GL3ElementAttributeArray elements,
VertexBufferObject[] vbos,
IndexBufferObject ibo,
int glMode) |
Modifier and Type | Method and Description |
---|---|
GL3SharedPrimitive |
acquire()
Signal the resource that something is holding a reference to it.
|
GL3SharedPrimitive.PrimitiveKey |
getKey() |
boolean |
matches(GL3SharedPrimitive.PrimitiveKey key) |
bind, bindAttributes, createVAO, dispose, dispose, draw, draw, draw, drawArrays, drawArrays, drawElements, drawInstanced, drawInstanced, drawInstancedArray, drawInstancedElements, drawWithVAO, equals, getBindVersion, getCount, getDrawType, getGL3ElementAttribute, getGL3VertexAttributes, getMode, getNumInstances, getStart, isDisposed, isValid, setDrawInfo, setDrawInfo
dispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDispose
acquireAndCount, getReferenceCount, release, releaseAndCount
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hashCode
disposeInvalid, disposeUnreferenced, releaseDispose
dispose, disposeInvalid, disposeUnreferenced, releaseDispose
acquireAndCount, getReferenceCount, release, releaseAndCount
public GL3SharedPrimitive(GL3SharedPrimitive.PrimitiveKey key, GL3VertexAttributeArray[] attributes, GL3ElementAttributeArray elements, VertexBufferObject[] vbos, IndexBufferObject ibo, int glMode)
public GL3SharedPrimitive acquire()
ReferenceCounted
acquire
in interface GL3Resource
acquire
in interface GL3SharedDrawable
acquire
in interface GLResource
acquire
in interface ReferenceCounted
acquire
in class GL3SharedObject
public boolean matches(GL3SharedPrimitive.PrimitiveKey key)
public GL3SharedPrimitive.PrimitiveKey getKey()