java.lang.Object
physx.NativeObject
physx.common.PxCpuDispatcher
- Direct Known Subclasses:
PxDefaultCpuDispatcher
A CpuDispatcher is responsible for scheduling the execution of tasks passed to it by the SDK.
A typical implementation would for example use a thread pool with the dispatcher pushing tasks onto worker thread queues or a global queue.
- See Also:
-
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 PxCpuDispatcherarrayGet(long baseAddress, int index) voiddestroy()static PxCpuDispatcherwrapPointer(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
-
PxCpuDispatcher
protected PxCpuDispatcher() -
PxCpuDispatcher
protected PxCpuDispatcher(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()
-