java.lang.Object
physx.NativeObject
physx.common.PxCudaContextManagerDesc
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxCudaContextManagerDescarrayGet(long baseAddress, int index) static PxCudaContextManagerDesccreateAt(long address) static <T> PxCudaContextManagerDesccreateAt(T allocator, NativeObject.Allocator<T> allocate) voiddestroy()getCtx()voidsetAppGUID(String value) voidvoidsetGraphicsDevice(NativeObject value) static PxCudaContextManagerDescwrapPointer(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
-
PxCudaContextManagerDesc
protected PxCudaContextManagerDesc(long address) -
PxCudaContextManagerDesc
public PxCudaContextManagerDesc()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxCudaContextManagerDesc
-
createAt
public static <T> PxCudaContextManagerDesc createAt(T allocator, NativeObject.Allocator<T> allocate) - 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.- Returns:
- Stack allocated object of PxCudaContextManagerDesc
-
destroy
public void destroy() -
getCtx
- Returns:
- WebIDL type:
CUcontext
-
setCtx
- Parameters:
value- WebIDL type:CUcontext
-
getGraphicsDevice
- Returns:
- WebIDL type: VoidPtr
-
setGraphicsDevice
- Parameters:
value- WebIDL type: VoidPtr
-
getAppGUID
- Returns:
- WebIDL type: DOMString
-
setAppGUID
- Parameters:
value- WebIDL type: DOMString
-