Class XrCompositionLayerCylinderKHR

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

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

XrCompositionLayerCylinderKHR contains the information needed to render a texture onto a cylinder when calling EndFrame. XrCompositionLayerCylinderKHR is an alias type for the base struct XrCompositionLayerBaseHeader used in XrFrameEndInfo.

Valid Usage (Implicit)
See Also

XrCompositionLayerBaseHeader, XrFrameEndInfo, XrPosef, XrSwapchainSubImage, EndFrame

Layout


 struct XrCompositionLayerCylinderKHR {
     XrStructureType type();
     void const * next();
     XrCompositionLayerFlags layerFlags();
     XrSpace space();
     XrEyeVisibility eyeVisibility();
     XrSwapchainSubImage subImage();
     XrPosef pose();
     float radius();
     float centralAngle();
     float aspectRatio();
 }
  • 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.
    • CENTRALANGLE

      public static final int CENTRALANGLE
      The struct member offsets.
    • ASPECTRATIO

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

    • XrCompositionLayerCylinderKHR

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