Package physx.common

Class PxCpuDispatcher

java.lang.Object
physx.NativeObject
physx.common.PxCpuDispatcher
Direct Known Subclasses:
PxDefaultCpuDispatcher

public class PxCpuDispatcher extends NativeObject
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:
  • 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

      public static PxCpuDispatcher wrapPointer(long address)
    • arrayGet

      public static PxCpuDispatcher arrayGet(long baseAddress, int index)
    • destroy

      public void destroy()