Class VREventPerformanceTest

  • All Implemented Interfaces:
    Pointer

    public class VREventPerformanceTest
    extends Struct

    Layout

    
     struct VREvent_PerformanceTest_t {
         uint32_t m_nFidelityLevel;
     }
    • Field Detail

      • SIZEOF

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

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

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

      • VREventPerformanceTest

        public VREventPerformanceTest​(java.nio.ByteBuffer container)
        Creates a VREventPerformanceTest 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
      • m_nFidelityLevel

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

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

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

        public static int nm_nFidelityLevel​(long struct)
        Unsafe version of m_nFidelityLevel().