java.lang.Object
physx.NativeObject
physx.common.PxCudaContext
Cuda Context
-
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 PxCudaContextarrayGet(long baseAddress, int index) memcpyDtoH(NativeObject dstHost, long srcDevice, int byteCount) memcpyHtoD(long dstDevice, NativeObject srcHost, int byteCount) static PxCudaContextwrapPointer(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
-
PxCudaContext
protected PxCudaContext() -
PxCudaContext
protected PxCudaContext(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
memcpyDtoH
- Parameters:
dstHost- WebIDL type: VoidPtrsrcDevice- WebIDL type: unsigned long longbyteCount- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxCUresult
-
memcpyHtoD
- Parameters:
dstDevice- WebIDL type: unsigned long longsrcHost- WebIDL type: VoidPtrbyteCount- WebIDL type: unsigned long- Returns:
- WebIDL type:
PxCUresult
-