Package physx.common

Class PxCudaContextManagerDesc

java.lang.Object
physx.NativeObject
physx.common.PxCudaContextManagerDesc

public class PxCudaContextManagerDesc extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxCudaContextManagerDesc

      protected PxCudaContextManagerDesc(long address)
    • PxCudaContextManagerDesc

      public PxCudaContextManagerDesc()
  • Method Details

    • wrapPointer

      public static PxCudaContextManagerDesc wrapPointer(long address)
    • arrayGet

      public static PxCudaContextManagerDesc arrayGet(long baseAddress, int index)
    • createAt

      public static PxCudaContextManagerDesc createAt(long address)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      Returns:
      Stack allocated object of PxCudaContextManagerDesc
    • createAt

      public static <T> PxCudaContextManagerDesc createAt(T allocator, NativeObject.Allocator<T> allocate)
      Type Parameters:
      T - Allocator class, e.g. LWJGL's MemoryStack.
      Parameters:
      allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.
      allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.
      Returns:
      Stack allocated object of PxCudaContextManagerDesc
    • destroy

      public void destroy()
    • getCtx

      public CUcontext getCtx()
      Returns:
      WebIDL type: CUcontext
    • setCtx

      public void setCtx(CUcontext value)
      Parameters:
      value - WebIDL type: CUcontext
    • getGraphicsDevice

      public NativeObject getGraphicsDevice()
      Returns:
      WebIDL type: VoidPtr
    • setGraphicsDevice

      public void setGraphicsDevice(NativeObject value)
      Parameters:
      value - WebIDL type: VoidPtr
    • getAppGUID

      public String getAppGUID()
      Returns:
      WebIDL type: DOMString
    • setAppGUID

      public void setAppGUID(String value)
      Parameters:
      value - WebIDL type: DOMString