Class XrCompositionLayerCubeKHR

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, LAYERFLAGS, SPACE, EYEVISIBILITY, SWAPCHAIN, IMAGEARRAYINDEX, ORIENTATION

        The struct member offsets.
    • Constructor Detail

      • XrCompositionLayerCubeKHR

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

        public long layerFlags()
        any flags to apply to this layer.
      • space

        public long space()
        the XrSpace in which the orientation of the cube layer is evaluated over time.
      • eyeVisibility

        public int eyeVisibility()
        Returns:
        the value of the eyeVisibility field.
      • swapchain

        public long swapchain()
        the swapchain.
      • imageArrayIndex

        public int imageArrayIndex()
        the image array index, with 0 meaning the first or only array element.
      • orientation

        public XrQuaternionf orientation()
        the orientation of the environment map in the space.
      • eyeVisibility

        public XrCompositionLayerCubeKHR eyeVisibility​(int value)
        Sets the specified value to the eyeVisibility field.
      • malloc

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

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

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

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

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

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

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

        public static long nlayerFlags​(long struct)
        Unsafe version of layerFlags().
      • nspace

        public static long nspace​(long struct)
        Unsafe version of space().
      • neyeVisibility

        public static int neyeVisibility​(long struct)
        Unsafe version of eyeVisibility().
      • nswapchain

        public static long nswapchain​(long struct)
        Unsafe version of swapchain().
      • nimageArrayIndex

        public static int nimageArrayIndex​(long struct)
        Unsafe version of imageArrayIndex().
      • 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.
      • nlayerFlags

        public static void nlayerFlags​(long struct,
                                       long value)
        Unsafe version of layerFlags.
      • nspace

        public static void nspace​(long struct,
                                  XrSpace value)
        Unsafe version of space.
      • neyeVisibility

        public static void neyeVisibility​(long struct,
                                          int value)
        Unsafe version of eyeVisibility.
      • nswapchain

        public static void nswapchain​(long struct,
                                      XrSwapchain value)
        Unsafe version of swapchain.
      • nimageArrayIndex

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

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