Class VREventScreenshotProgress

  • All Implemented Interfaces:

    public class VREventScreenshotProgress
    extends Struct


     struct VREvent_ScreenshotProgress_t {
         float progress;
    • Field Detail

      • SIZEOF

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

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

        public static final int PROGRESS
        The struct member offsets.
    • Constructor Detail

      • VREventScreenshotProgress

        public VREventScreenshotProgress​(java.nio.ByteBuffer container)
        Creates a VREventScreenshotProgress 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 Detail

      • sizeof

        public int sizeof()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • progress

        public float progress()
        Returns the value of the progress field.
      • create

        public static VREventScreenshotProgress create​(long address)
        Returns a new VREventScreenshotProgress instance for the specified memory address.
      • nprogress

        public static float nprogress​(long struct)
        Unsafe version of progress().