Class XrRenderModelPropertiesFB

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

public class XrRenderModelPropertiesFB extends org.lwjgl.system.Struct<XrRenderModelPropertiesFB> implements org.lwjgl.system.NativeResource
The information about the render model.
Description

XrRenderModelPropertiesFB contains information about the render model for a device. XrRenderModelPropertiesFB must be provided when calling GetRenderModelPropertiesFB. The XrRenderModelKeyFB included in the properties is a unique key for each render model that is valid across multiple instances and installs.

If the application decides to cache or save the render model in any way, modelVersion can be used to determine if the render model has changed. The application should then update its cached or saved version.

Valid Usage (Implicit)
See Also

GetRenderModelPropertiesFB

Layout


 struct XrRenderModelPropertiesFB {
     XrStructureType type();
     void * next();
     uint32_t vendorId();
     char modelName()[XR_MAX_RENDER_MODEL_NAME_SIZE_FB];
     XrRenderModelKeyFB modelKey();
     uint32_t modelVersion();
     XrRenderModelFlagsFB flags();
 }
  • 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.
    • VENDORID

      public static final int VENDORID
      The struct member offsets.
    • MODELNAME

      public static final int MODELNAME
      The struct member offsets.
    • MODELKEY

      public static final int MODELKEY
      The struct member offsets.
    • MODELVERSION

      public static final int MODELVERSION
      The struct member offsets.
    • FLAGS

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

    • XrRenderModelPropertiesFB

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