public class PxPlaneGeometry extends PxGeometry
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
|
PxPlaneGeometry() |
protected |
PxPlaneGeometry(long address) |
| Modifier and Type | Method and Description |
|---|---|
static PxPlaneGeometry |
createAt(long address) |
static <T> PxPlaneGeometry |
createAt(T allocator,
NativeObject.Allocator<T> allocate) |
void |
destroy() |
static PxPlaneGeometry |
wrapPointer(long address) |
getTypecheckNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxPlaneGeometry(long address)
public PxPlaneGeometry()
public static PxPlaneGeometry wrapPointer(long address)
public static PxPlaneGeometry createAt(long address)
address - Pre-allocated memory, where the object is created.public static <T> PxPlaneGeometry createAt(T allocator, NativeObject.Allocator<T> allocate)
T - Allocator class, e.g. LWJGL's MemoryStack.allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.public void destroy()
destroy in class PxGeometry