Class XrEventDataPerfSettingsEXT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

    public class XrEventDataPerfSettingsEXT
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    XrEventDataPerfSettingsEXT.
    Valid Usage (Implicit)

    Layout

    
     struct XrEventDataPerfSettingsEXT {
         XrStructureType type();
         void const * next();
         XrPerfSettingsDomainEXT domain();
         XrPerfSettingsSubDomainEXT subDomain();
         XrPerfSettingsNotificationLevelEXT fromLevel();
         XrPerfSettingsNotificationLevelEXT toLevel();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, DOMAIN, SUBDOMAIN, FROMLEVEL, TOLEVEL

        The struct member offsets.
    • Constructor Detail

      • XrEventDataPerfSettingsEXT

        public XrEventDataPerfSettingsEXT​(java.nio.ByteBuffer container)
        Creates a XrEventDataPerfSettingsEXT 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()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • type

        public int type()
        the XrStructureType of this structure.
      • next

        public long next()
        NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.
      • domain

        public int domain()
        : processing domain in which a threshold has been crossed
      • subDomain

        public int subDomain()
        : system area in which a threshold has been crossed
      • fromLevel

        public int fromLevel()
        : enumerated notification level which has been exited
      • toLevel

        public int toLevel()
        : enumerated notification level which has been entered
      • set

        public XrEventDataPerfSettingsEXT set​(int type,
                                              long next,
                                              int domain,
                                              int subDomain,
                                              int fromLevel,
                                              int toLevel)
        Initializes this struct with the specified values.
      • malloc

        public static XrEventDataPerfSettingsEXT malloc()
        Returns a new XrEventDataPerfSettingsEXT instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static XrEventDataPerfSettingsEXT calloc()
        Returns a new XrEventDataPerfSettingsEXT instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static XrEventDataPerfSettingsEXT create()
        Returns a new XrEventDataPerfSettingsEXT instance allocated with BufferUtils.
      • create

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

        public static XrEventDataPerfSettingsEXT malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrEventDataPerfSettingsEXT instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static XrEventDataPerfSettingsEXT calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrEventDataPerfSettingsEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static XrEventDataPerfSettingsEXT.Buffer calloc​(int capacity,
                                                               org.lwjgl.system.MemoryStack stack)
        Returns a new XrEventDataPerfSettingsEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • ntype

        public static int ntype​(long struct)
        Unsafe version of type().
      • nnext

        public static long nnext​(long struct)
        Unsafe version of next().
      • ndomain

        public static int ndomain​(long struct)
        Unsafe version of domain().
      • nsubDomain

        public static int nsubDomain​(long struct)
        Unsafe version of subDomain().
      • nfromLevel

        public static int nfromLevel​(long struct)
        Unsafe version of fromLevel().
      • ntoLevel

        public static int ntoLevel​(long struct)
        Unsafe version of toLevel().
      • ntype

        public static void ntype​(long struct,
                                 int value)
        Unsafe version of type.
      • nnext

        public static void nnext​(long struct,
                                 long value)
        Unsafe version of next.
      • ndomain

        public static void ndomain​(long struct,
                                   int value)
        Unsafe version of domain.
      • nsubDomain

        public static void nsubDomain​(long struct,
                                      int value)
        Unsafe version of subDomain.
      • nfromLevel

        public static void nfromLevel​(long struct,
                                      int value)
        Unsafe version of fromLevel.
      • ntoLevel

        public static void ntoLevel​(long struct,
                                    int value)
        Unsafe version of toLevel.