java.lang.Object
physx.NativeObject
physx.cooking.PxMeshPreprocessingFlags
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPxMeshPreprocessingFlags(int flags) protectedPxMeshPreprocessingFlags(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxMeshPreprocessingFlagsarrayGet(long baseAddress, int index) voidstatic PxMeshPreprocessingFlagscreateAt(long address, int flags) static <T> PxMeshPreprocessingFlagscreateAt(T allocator, NativeObject.Allocator<T> allocate, int flags) voiddestroy()booleanvoidstatic PxMeshPreprocessingFlagswrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxMeshPreprocessingFlags
protected PxMeshPreprocessingFlags() -
PxMeshPreprocessingFlags
protected PxMeshPreprocessingFlags(long address) -
PxMeshPreprocessingFlags
public PxMeshPreprocessingFlags(int flags) - Parameters:
flags- WebIDL type: unsigned long
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.flags- WebIDL type: unsigned long- Returns:
- Stack allocated object of PxMeshPreprocessingFlags
-
createAt
public static <T> PxMeshPreprocessingFlags createAt(T allocator, NativeObject.Allocator<T> allocate, int flags) - Type Parameters:
T- Allocator class, e.g. LWJGL's MemoryStack.- Parameters:
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 long- Returns:
- Stack allocated object of PxMeshPreprocessingFlags
-
destroy
public void destroy() -
isSet
- Parameters:
flag- WebIDL type:PxMeshPreprocessingFlagEnum[enum]- Returns:
- WebIDL type: boolean
-
raise
- Parameters:
flag- WebIDL type:PxMeshPreprocessingFlagEnum[enum]
-
clear
- Parameters:
flag- WebIDL type:PxMeshPreprocessingFlagEnum[enum]
-