Class XrNewSceneComputeInfoMSFT

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, REQUESTEDFEATURECOUNT, REQUESTEDFEATURES, CONSISTENCY, BOUNDS

        The struct member offsets.
    • Constructor Detail

      • XrNewSceneComputeInfoMSFT

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

        public int requestedFeatureCount()
        the number of features.
      • requestedFeatures

        public java.nio.IntBuffer requestedFeatures()
        an array of XrSceneComputeFeatureMSFT.
      • consistency

        public int consistency()
        indicates the requested XrSceneComputeConsistencyMSFT, trading off speed against the quality of the resulting scene.
      • malloc

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

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

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

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

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

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

        public static XrNewSceneComputeInfoMSFT.Buffer calloc​(int capacity,
                                                              org.lwjgl.system.MemoryStack stack)
        Returns a new XrNewSceneComputeInfoMSFT.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().
      • nrequestedFeatureCount

        public static int nrequestedFeatureCount​(long struct)
        Unsafe version of requestedFeatureCount().
      • nrequestedFeatures

        public static java.nio.IntBuffer nrequestedFeatures​(long struct)
        Unsafe version of requestedFeatures.
      • nconsistency

        public static int nconsistency​(long struct)
        Unsafe version of consistency().
      • 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.
      • nrequestedFeatureCount

        public static void nrequestedFeatureCount​(long struct,
                                                  int value)
        Sets the specified value to the requestedFeatureCount field of the specified struct.
      • nrequestedFeatures

        public static void nrequestedFeatures​(long struct,
                                              java.nio.IntBuffer value)
        Unsafe version of requestedFeatures.
      • nconsistency

        public static void nconsistency​(long struct,
                                        int value)
        Unsafe version of consistency.
      • validate

        public static void validate​(long struct)
        Validates pointer members that should not be NULL.
        Parameters:
        struct - the struct to validate