Class VREventEditingCameraSurface

All Implemented Interfaces:
Pointer

public class VREventEditingCameraSurface extends Struct<VREventEditingCameraSurface>

Layout


 struct VREvent_EditingCameraSurface_t {
     uint64_t overlayHandle;
     uint32_t nVisualMode;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • OVERLAYHANDLE

      public static final int OVERLAYHANDLE
      The struct member offsets.
    • NVISUALMODE

      public static final int NVISUALMODE
      The struct member offsets.
  • Constructor Details

    • VREventEditingCameraSurface

      public VREventEditingCameraSurface(ByteBuffer container)
      Creates a VREventEditingCameraSurface instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VREventEditingCameraSurface>
    • overlayHandle

      public long overlayHandle()
      Returns:
      the value of the overlayHandle field.
    • nVisualMode

      public int nVisualMode()
      Returns:
      the value of the nVisualMode field.
    • create

      public static VREventEditingCameraSurface create(long address)
      Returns a new VREventEditingCameraSurface instance for the specified memory address.
    • createSafe

      @Nullable public static VREventEditingCameraSurface createSafe(long address)
      Like create, but returns null if address is NULL.
    • create

      public static VREventEditingCameraSurface.Buffer create(long address, int capacity)
      Create a VREventEditingCameraSurface.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      @Nullable public static VREventEditingCameraSurface.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • noverlayHandle

      public static long noverlayHandle(long struct)
      Unsafe version of overlayHandle().
    • nnVisualMode

      public static int nnVisualMode(long struct)
      Unsafe version of nVisualMode().