Package physx.common
Class PxCudaContextManager
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxCudaContextManager
-
public class PxCudaContextManager extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxCudaContextManager()protectedPxCudaContextManager(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanMapHostMemory()booleancontextIsValid()intgetClockRate()java.lang.StringgetDeviceName()longgetDeviceTotalMemBytes()intgetDriverVersion()intgetInteropMode()intgetMaxThreadsPerBlock()intgetMultiprocessorCount()intgetSharedMemPerBlock()booleangetUsingConcurrentStreams()booleanisIntegrated()voidrelease()voidsetUsingConcurrentStreams(boolean flag)booleansupportsArchSM10()booleansupportsArchSM11()booleansupportsArchSM12()booleansupportsArchSM13()booleansupportsArchSM20()booleansupportsArchSM30()booleansupportsArchSM35()booleansupportsArchSM50()booleansupportsArchSM52()intusingDedicatedGPU()static PxCudaContextManagerwrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxCudaContextManager wrapPointer(long address)
-
contextIsValid
public boolean contextIsValid()
- Returns:
- WebIDL type: boolean
-
supportsArchSM10
public boolean supportsArchSM10()
- Returns:
- WebIDL type: boolean
-
supportsArchSM11
public boolean supportsArchSM11()
- Returns:
- WebIDL type: boolean
-
supportsArchSM12
public boolean supportsArchSM12()
- Returns:
- WebIDL type: boolean
-
supportsArchSM13
public boolean supportsArchSM13()
- Returns:
- WebIDL type: boolean
-
supportsArchSM20
public boolean supportsArchSM20()
- Returns:
- WebIDL type: boolean
-
supportsArchSM30
public boolean supportsArchSM30()
- Returns:
- WebIDL type: boolean
-
supportsArchSM35
public boolean supportsArchSM35()
- Returns:
- WebIDL type: boolean
-
supportsArchSM50
public boolean supportsArchSM50()
- Returns:
- WebIDL type: boolean
-
supportsArchSM52
public boolean supportsArchSM52()
- Returns:
- WebIDL type: boolean
-
isIntegrated
public boolean isIntegrated()
- Returns:
- WebIDL type: boolean
-
canMapHostMemory
public boolean canMapHostMemory()
- Returns:
- WebIDL type: boolean
-
getDriverVersion
public int getDriverVersion()
- Returns:
- WebIDL type: long
-
getDeviceTotalMemBytes
public long getDeviceTotalMemBytes()
- Returns:
- WebIDL type: unsigned long long
-
getMultiprocessorCount
public int getMultiprocessorCount()
- Returns:
- WebIDL type: long
-
getClockRate
public int getClockRate()
- Returns:
- WebIDL type: unsigned long
-
getSharedMemPerBlock
public int getSharedMemPerBlock()
- Returns:
- WebIDL type: long
-
getMaxThreadsPerBlock
public int getMaxThreadsPerBlock()
- Returns:
- WebIDL type: long
-
getDeviceName
public java.lang.String getDeviceName()
- Returns:
- WebIDL type: DOMString [Const]
-
getInteropMode
public int getInteropMode()
- Returns:
- WebIDL type:
PxCudaInteropModeEnum[enum]
-
setUsingConcurrentStreams
public void setUsingConcurrentStreams(boolean flag)
- Parameters:
flag- WebIDL type: boolean
-
getUsingConcurrentStreams
public boolean getUsingConcurrentStreams()
- Returns:
- WebIDL type: boolean
-
usingDedicatedGPU
public int usingDedicatedGPU()
- Returns:
- WebIDL type: long
-
release
public void release()
-
-