Class XrCompositionLayerEquirect2KHR

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

public class XrCompositionLayerEquirect2KHR extends org.lwjgl.system.Struct<XrCompositionLayerEquirect2KHR> implements org.lwjgl.system.NativeResource
Equirectangular layer composition info.
Description

XrCompositionLayerEquirect2KHR contains the information needed to render an equirectangular image onto a sphere when calling EndFrame. XrCompositionLayerEquirect2KHR is an alias type for the base struct XrCompositionLayerBaseHeader used in XrFrameEndInfo.

Valid Usage (Implicit)
See Also

XrCompositionLayerBaseHeader, XrFrameEndInfo, XrPosef, XrSwapchainSubImage, EndFrame

Layout


 struct XrCompositionLayerEquirect2KHR {
     XrStructureType type();
     void const * next();
     XrCompositionLayerFlags layerFlags();
     XrSpace space();
     XrEyeVisibility eyeVisibility();
     XrSwapchainSubImage subImage();
     XrPosef pose();
     float radius();
     float centralHorizontalAngle();
     float upperVerticalAngle();
     float lowerVerticalAngle();
 }
  • 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.
    • LAYERFLAGS

      public static final int LAYERFLAGS
      The struct member offsets.
    • SPACE

      public static final int SPACE
      The struct member offsets.
    • EYEVISIBILITY

      public static final int EYEVISIBILITY
      The struct member offsets.
    • SUBIMAGE

      public static final int SUBIMAGE
      The struct member offsets.
    • POSE

      public static final int POSE
      The struct member offsets.
    • RADIUS

      public static final int RADIUS
      The struct member offsets.
    • CENTRALHORIZONTALANGLE

      public static final int CENTRALHORIZONTALANGLE
      The struct member offsets.
    • UPPERVERTICALANGLE

      public static final int UPPERVERTICALANGLE
      The struct member offsets.
    • LOWERVERTICALANGLE

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

    • XrCompositionLayerEquirect2KHR

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