Class XrRecommendedLayerResolutionMETA

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

public class XrRecommendedLayerResolutionMETA extends org.lwjgl.system.Struct<XrRecommendedLayerResolutionMETA> implements org.lwjgl.system.NativeResource
The structure returned by the runtime, containing resolution and whether the recommendation is valid.
Description

If the runtime does not wish to make a recommendation, isValid must be FALSE and recommendedImageDimensions must be {0,0}.

Valid Usage (Implicit)
See Also

XrExtent2Di, GetRecommendedLayerResolutionMETA

Layout


 struct XrRecommendedLayerResolutionMETA {
     XrStructureType type();
     void * next();
     XrExtent2Di recommendedImageDimensions();
     XrBool32 isValid();
 }
  • 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.
    • RECOMMENDEDIMAGEDIMENSIONS

      public static final int RECOMMENDEDIMAGEDIMENSIONS
      The struct member offsets.
    • ISVALID

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

    • XrRecommendedLayerResolutionMETA

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