Class XrSwapchainImageOpenGLESKHR

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

    public class XrSwapchainImageOpenGLESKHR
    extends org.lwjgl.system.Struct
    implements org.lwjgl.system.NativeResource
    OpenGL ES-specific swapchain image structure.
    Description

    If a given session was created with a stext:XrGraphicsBindingOpenGLES*KHR, the following conditions must apply.

    The OpenXR runtime must interpret the bottom-left corner of the swapchain image as the coordinate origin unless specified otherwise by extension functionality.

    The OpenXR runtime must interpret the swapchain images in a clip space of positive Y pointing up, near Z plane at -1, and far Z plane at 1.

    Valid Usage (Implicit)
    See Also

    XrSwapchainImageBaseHeader

    Layout

    
     struct XrSwapchainImageOpenGLESKHR {
         XrStructureType type();
         void * next();
         uint32_t image();
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, IMAGE

        The struct member offsets.
    • Constructor Detail

      • XrSwapchainImageOpenGLESKHR

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