Class XrCompositionLayerDepthTestFB

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

public class XrCompositionLayerDepthTestFB extends org.lwjgl.system.Struct<XrCompositionLayerDepthTestFB> implements org.lwjgl.system.NativeResource
specifies depth test for composition layer.
Description

To specify that a layer should be depth tested, a XrCompositionLayerDepthTestFB structure must be passed via the polymorphic XrCompositionLayerBaseHeader structure’s next parameter chain.

Valid Usage (Implicit)
See Also

XrCompositionLayerBaseHeader

Layout


 struct XrCompositionLayerDepthTestFB {
     XrStructureType type();
     void const * next();
     XrBool32 depthMask();
     XrCompareOpFB compareOp();
 }
  • 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.
    • DEPTHMASK

      public static final int DEPTHMASK
      The struct member offsets.
    • COMPAREOP

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

    • XrCompositionLayerDepthTestFB

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