public class GL2Primitive extends GL2Object
Modifier and Type | Class and Description |
---|---|
static class |
GL2Primitive.PrimitiveKey |
static class |
GL2Primitive.PrimitiveType |
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_CAPPED |
static int |
DEFAULT_RESOLUTION |
Constructor and Description |
---|
GL2Primitive(GL2Primitive.PrimitiveKey key,
GL2DisplayList list) |
Modifier and Type | Method and Description |
---|---|
GL2Primitive |
acquire()
Signal the resource that something is holding a reference to it.
|
GL2Primitive.PrimitiveKey |
getKey() |
int |
getResolution() |
GL2Primitive.PrimitiveType |
getType() |
boolean |
isCapped() |
beginCompile, beginCompileAndDraw, dispose, draw, endCompile, getDisplayList, isDisposed, isValid
dispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDispose
acquireAndCount, getReferenceCount, release, releaseAndCount
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
disposeInvalid, disposeUnreferenced, releaseDispose
dispose, disposeInvalid, disposeUnreferenced, releaseDispose
acquireAndCount, getReferenceCount, release, releaseAndCount
public static final int DEFAULT_RESOLUTION
public static final boolean DEFAULT_CAPPED
public GL2Primitive(GL2Primitive.PrimitiveKey key, GL2DisplayList list)
public GL2Primitive.PrimitiveType getType()
public int getResolution()
public boolean isCapped()
public GL2Primitive.PrimitiveKey getKey()
public GL2Primitive acquire()
ReferenceCounted
acquire
in interface GL2Resource
acquire
in interface GLResource
acquire
in interface ReferenceCounted
acquire
in class GL2ResourceBase