java.lang.Object
physx.NativeObject
physx.geometry.PxConvexMeshGeometryFlags
-
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
ConstructorsModifierConstructorDescriptionprotectedPxConvexMeshGeometryFlags(byte flags) protectedPxConvexMeshGeometryFlags(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxConvexMeshGeometryFlagsarrayGet(long baseAddress, int index) voidstatic PxConvexMeshGeometryFlagscreateAt(long address, byte flags) static <T> PxConvexMeshGeometryFlagscreateAt(T allocator, NativeObject.Allocator<T> allocate, byte flags) voiddestroy()booleanvoidstatic PxConvexMeshGeometryFlagswrapPointer(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
-
PxConvexMeshGeometryFlags
protected PxConvexMeshGeometryFlags() -
PxConvexMeshGeometryFlags
protected PxConvexMeshGeometryFlags(long address) -
PxConvexMeshGeometryFlags
public PxConvexMeshGeometryFlags(byte flags) - Parameters:
flags- WebIDL type: octet
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.flags- WebIDL type: octet- Returns:
- Stack allocated object of PxConvexMeshGeometryFlags
-
createAt
public static <T> PxConvexMeshGeometryFlags createAt(T allocator, NativeObject.Allocator<T> allocate, byte 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: octet- Returns:
- Stack allocated object of PxConvexMeshGeometryFlags
-
destroy
public void destroy() -
isSet
- Parameters:
flag- WebIDL type:PxConvexMeshGeometryFlagEnum[enum]- Returns:
- WebIDL type: boolean
-
raise
- Parameters:
flag- WebIDL type:PxConvexMeshGeometryFlagEnum[enum]
-
clear
- Parameters:
flag- WebIDL type:PxConvexMeshGeometryFlagEnum[enum]
-