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