Class XrSwapchainImageVulkanKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrSwapchainImageVulkanKHR>
org.lwjgl.openxr.XrSwapchainImageVulkanKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
XrSwapchainImageVulkan2KHR

public class XrSwapchainImageVulkanKHR extends org.lwjgl.system.Struct<XrSwapchainImageVulkanKHR> implements org.lwjgl.system.NativeResource
Vulkan-specific swapchain image structure.
Description

If a given session was created with XrGraphicsBindingVulkanKHR, the following conditions must apply.

The OpenXR runtime must interpret the top-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 down, near Z plane at 0, and far Z plane at 1.

Valid Usage (Implicit)
See Also

XrSwapchainImageBaseHeader

Layout


 struct XrSwapchainImageVulkanKHR {
     XrStructureType type();
     void * next();
     VkImage image();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int TYPE
      The struct member offsets.
    • NEXT

      public static final int NEXT
      The struct member offsets.
    • IMAGE

      public static final int IMAGE
      The struct member offsets.
  • Constructor Details

    • XrSwapchainImageVulkanKHR

      public XrSwapchainImageVulkanKHR(ByteBuffer container)
      Creates a XrSwapchainImageVulkanKHR 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 Details