Class XrRenderModelPropertiesFB

    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • TYPE, NEXT, VENDORID, MODELNAME, MODELKEY, MODELVERSION, FLAGS

        The struct member offsets.
    • Constructor Detail

      • XrRenderModelPropertiesFB

        public XrRenderModelPropertiesFB​(java.nio.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 Detail

      • sizeof

        public int sizeof()
        Specified by:
        sizeof in class org.lwjgl.system.Struct
      • type

        public int type()
        the XrStructureType of this structure.
      • next

        public long next()
        NULL or a pointer to the next structure in a structure chain. No such structures are defined in core OpenXR or this extension.
      • vendorId

        public int vendorId()
        the vendor id of the model.
      • modelName, modelNameString

        public java.nio.ByteBuffer modelName()
        
        public java.lang.String modelNameString()
        
        the name of the model.
      • modelKey

        public long modelKey()
        the unique model key used to load the model in LoadRenderModelFB.
      • modelVersion

        public int modelVersion()
        the version number of the model.
      • flags

        public long flags()
        a bitmask of XrRenderModelFlagsFB.
      • set

        public XrRenderModelPropertiesFB set​(int type,
                                             long next,
                                             int vendorId,
                                             java.nio.ByteBuffer modelName,
                                             long modelKey,
                                             int modelVersion,
                                             long flags)
        Initializes this struct with the specified values.
      • malloc

        public static XrRenderModelPropertiesFB malloc()
        Returns a new XrRenderModelPropertiesFB instance allocated with memAlloc. The instance must be explicitly freed.
      • calloc

        public static XrRenderModelPropertiesFB calloc()
        Returns a new XrRenderModelPropertiesFB instance allocated with memCalloc. The instance must be explicitly freed.
      • create

        public static XrRenderModelPropertiesFB create()
        Returns a new XrRenderModelPropertiesFB instance allocated with BufferUtils.
      • create

        public static XrRenderModelPropertiesFB create​(long address)
        Returns a new XrRenderModelPropertiesFB instance for the specified memory address.
      • malloc

        public static XrRenderModelPropertiesFB malloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrRenderModelPropertiesFB instance allocated on the specified MemoryStack.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static XrRenderModelPropertiesFB calloc​(org.lwjgl.system.MemoryStack stack)
        Returns a new XrRenderModelPropertiesFB instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
      • calloc

        public static XrRenderModelPropertiesFB.Buffer calloc​(int capacity,
                                                              org.lwjgl.system.MemoryStack stack)
        Returns a new XrRenderModelPropertiesFB.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
        Parameters:
        stack - the stack from which to allocate
        capacity - the buffer capacity
      • ntype

        public static int ntype​(long struct)
        Unsafe version of type().
      • nnext

        public static long nnext​(long struct)
        Unsafe version of next().
      • nvendorId

        public static int nvendorId​(long struct)
        Unsafe version of vendorId().
      • nmodelName

        public static java.nio.ByteBuffer nmodelName​(long struct)
        Unsafe version of modelName().
      • nmodelNameString

        public static java.lang.String nmodelNameString​(long struct)
        Unsafe version of modelNameString().
      • nmodelKey

        public static long nmodelKey​(long struct)
        Unsafe version of modelKey().
      • nmodelVersion

        public static int nmodelVersion​(long struct)
        Unsafe version of modelVersion().
      • nflags

        public static long nflags​(long struct)
        Unsafe version of flags().
      • ntype

        public static void ntype​(long struct,
                                 int value)
        Unsafe version of type.
      • nnext

        public static void nnext​(long struct,
                                 long value)
        Unsafe version of next.
      • nvendorId

        public static void nvendorId​(long struct,
                                     int value)
        Unsafe version of vendorId.
      • nmodelName

        public static void nmodelName​(long struct,
                                      java.nio.ByteBuffer value)
        Unsafe version of modelName.
      • nmodelKey

        public static void nmodelKey​(long struct,
                                     long value)
        Unsafe version of modelKey.
      • nmodelVersion

        public static void nmodelVersion​(long struct,
                                         int value)
        Unsafe version of modelVersion.
      • nflags

        public static void nflags​(long struct,
                                  long value)
        Unsafe version of flags.