public class PxConvexFlags extends NativeObject
NativeObject.Allocator<T>| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF |
static int |
SIZEOF |
address, isExternallyAllocated| Modifier | Constructor and Description |
|---|---|
protected |
PxConvexFlags() |
protected |
PxConvexFlags(long address) |
|
PxConvexFlags(short flags) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear(int flag) |
static PxConvexFlags |
createAt(long address,
short flags) |
static <T> PxConvexFlags |
createAt(T allocator,
NativeObject.Allocator<T> allocate,
short flags) |
void |
destroy() |
boolean |
isSet(int flag) |
void |
set(int flag) |
static PxConvexFlags |
wrapPointer(long address) |
checkNotNull, equals, getAddress, hashCodepublic static final int SIZEOF
public static final int ALIGNOF
protected PxConvexFlags()
protected PxConvexFlags(long address)
public PxConvexFlags(short flags)
flags - WebIDL type: unsigned shortpublic static PxConvexFlags wrapPointer(long address)
public static PxConvexFlags createAt(long address, short flags)
address - Pre-allocated memory, where the object is created.flags - WebIDL type: unsigned shortpublic static <T> PxConvexFlags createAt(T allocator, NativeObject.Allocator<T> allocate, short flags)
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.flags - WebIDL type: unsigned shortpublic void destroy()
public boolean isSet(int flag)
flag - WebIDL type: PxConvexFlagEnum [enum]public void set(int flag)
flag - WebIDL type: PxConvexFlagEnum [enum]public void clear(int flag)
flag - WebIDL type: PxConvexFlagEnum [enum]