Class XrPerformanceMetricsStateMETA

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

public class XrPerformanceMetricsStateMETA extends org.lwjgl.system.Struct<XrPerformanceMetricsStateMETA> implements org.lwjgl.system.NativeResource
Performance metrics enable state.
Description

XrPerformanceMetricsStateMETA is provided as input when calling SetPerformanceMetricsStateMETA to enable or disable the performance metrics system. XrPerformanceMetricsStateMETA is populated as an output parameter when calling GetPerformanceMetricsStateMETA to query if the performance metrics system is enabled.

Valid Usage (Implicit)
See Also

GetPerformanceMetricsStateMETA, SetPerformanceMetricsStateMETA

Layout


 struct XrPerformanceMetricsStateMETA {
     XrStructureType type();
     void const * next();
     XrBool32 enabled();
 }
  • 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.
    • ENABLED

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

    • XrPerformanceMetricsStateMETA

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