Class ComputeQueueRef

All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<JoltPhysicsObject>

public final class ComputeQueueRef extends Ref
A counted reference to a ComputeQueue. (native type: Ref<ComputeQueue>)
  • Constructor Details

    • ComputeQueueRef

      public ComputeQueueRef()
      Instantiate an empty reference.
  • Method Details

    • getPtr

      public ComputeQueue getPtr()
      Temporarily access the referenced ComputeQueue.
      Specified by:
      getPtr in class Ref
      Returns:
      a new JVM object with the pre-existing native object assigned
    • targetVa

      public long targetVa()
      Return the address of the native ComputeQueue. No objects are affected.
      Specified by:
      targetVa in interface ConstJoltPhysicsObject
      Overrides:
      targetVa in class JoltPhysicsObject
      Returns:
      a virtual address (not zero)
    • toRef

      public ComputeQueueRef toRef()
      Create another counted reference to the native ComputeQueue.
      Specified by:
      toRef in class Ref
      Returns:
      a new JVM object with a new native object assigned