Package physx.common

Class PxCudaContext

java.lang.Object
physx.NativeObject
physx.common.PxCudaContext

public class PxCudaContext extends NativeObject
Cuda Context
  • 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

      public static PxCudaContext wrapPointer(long address)
    • arrayGet

      public static PxCudaContext arrayGet(long baseAddress, int index)
    • memcpyDtoH

      public PxCUresult memcpyDtoH(NativeObject dstHost, long srcDevice, int byteCount)
      Parameters:
      dstHost - WebIDL type: VoidPtr
      srcDevice - WebIDL type: unsigned long long
      byteCount - WebIDL type: unsigned long
      Returns:
      WebIDL type: PxCUresult
    • memcpyHtoD

      public PxCUresult memcpyHtoD(long dstDevice, NativeObject srcHost, int byteCount)
      Parameters:
      dstDevice - WebIDL type: unsigned long long
      srcHost - WebIDL type: VoidPtr
      byteCount - WebIDL type: unsigned long
      Returns:
      WebIDL type: PxCUresult