Class XrViewConfigurationView

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<XrViewConfigurationView>
org.lwjgl.openxr.XrViewConfigurationView
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class XrViewConfigurationView extends org.lwjgl.system.Struct<XrViewConfigurationView> implements org.lwjgl.system.NativeResource
Individual view configuration.
Description

See XrSwapchainSubImage for more information about XrSwapchainSubImage::imageRect values, and XrSwapchainCreateInfo for more information about creating swapchains appropriately sized to support those XrSwapchainSubImage::imageRect values.

The array of XrViewConfigurationView returned by the runtime must adhere to the rules defined in XrViewConfigurationType, such as the count and association to the left and right eyes.

Valid Usage (Implicit)
See Also

XrViewConfigurationProperties, EnumerateViewConfigurationViews

Layout


 struct XrViewConfigurationView {
     XrStructureType type();
     void * next();
     uint32_t recommendedImageRectWidth();
     uint32_t maxImageRectWidth();
     uint32_t recommendedImageRectHeight();
     uint32_t maxImageRectHeight();
     uint32_t recommendedSwapchainSampleCount();
     uint32_t maxSwapchainSampleCount();
 }
  • 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.
    • RECOMMENDEDIMAGERECTWIDTH

      public static final int RECOMMENDEDIMAGERECTWIDTH
      The struct member offsets.
    • MAXIMAGERECTWIDTH

      public static final int MAXIMAGERECTWIDTH
      The struct member offsets.
    • RECOMMENDEDIMAGERECTHEIGHT

      public static final int RECOMMENDEDIMAGERECTHEIGHT
      The struct member offsets.
    • MAXIMAGERECTHEIGHT

      public static final int MAXIMAGERECTHEIGHT
      The struct member offsets.
    • RECOMMENDEDSWAPCHAINSAMPLECOUNT

      public static final int RECOMMENDEDSWAPCHAINSAMPLECOUNT
      The struct member offsets.
    • MAXSWAPCHAINSAMPLECOUNT

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

    • XrViewConfigurationView

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