This extension allows applications to request GLTF models for certain connected devices supported by the runtime. Paths that correspond to these devices will be provided through the extension and can be used to get information about the models as well as loading them.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | XR_ERROR_RENDER_MODEL_KEY_INVALID_FB
Extends |
| public static final String | XR_FB_RENDER_MODEL_EXTENSION_NAME
The extension name. |
| public static final int | XR_FB_render_model_SPEC_VERSION
The extension specification version. |
| public static final int | XR_MAX_RENDER_MODEL_NAME_SIZE_FB
XR_MAX_RENDER_MODEL_NAME_SIZE_FB |
| public static final long | XR_NULL_RENDER_MODEL_KEY_FB
API Constants |
| public static final int | XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_1_BIT_FB
XrRenderModelFlagBitsFB - XrRenderModelFlagBitsFB Flag Descriptions
|
| public static final int | XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_2_BIT_FB
XrRenderModelFlagBitsFB - XrRenderModelFlagBitsFB Flag Descriptions
|
| public static final int | XR_RENDER_MODEL_UNAVAILABLE_FB
Extends |
| public static final int | XR_TYPE_RENDER_MODEL_BUFFER_FB
Extends |
| public static final int | XR_TYPE_RENDER_MODEL_CAPABILITIES_REQUEST_FB
Extends |
| public static final int | XR_TYPE_RENDER_MODEL_LOAD_INFO_FB
Extends |
| public static final int | XR_TYPE_RENDER_MODEL_PATH_INFO_FB
Extends |
| public static final int | XR_TYPE_RENDER_MODEL_PROPERTIES_FB
Extends |
| public static final int | XR_TYPE_SYSTEM_RENDER_MODEL_PROPERTIES_FB
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nxrEnumerateRenderModelPathsFB(XrSession session, int
the capacity of the pathCapacityInput, long pathCountOutput, long paths)paths, or 0 to retrieve the required capacity.Unsafe version of: |
| public static int | nxrGetRenderModelPropertiesFB(XrSession session, long path, long properties)
Unsafe version of: |
| public static int | |
| public static int | xrEnumerateRenderModelPathsFB(XrSession
the specified session, IntBuffer XrSession.a pointer to the count of pathCountOutput, XrRenderModelPathInfoFB.float paths written, or a pointer to the required capacity in the case that pathCapacityInput is insufficient.a pointer to an application-allocated array that will be filled with pathsXrRenderModelPathInfoFB values that are supported by the runtime, but can be NULL if pathCapacityInput is 0Enumerate supported render model paths. |
| public static int | xrGetRenderModelPropertiesFB(XrSession
the specified session, long XrSession.the path of the render model to get the properties for. path, XrRenderModelPropertiesFB a pointer to the properties)XrRenderModelPropertiesFB to write the render model information to.Get information for a render model. |
| public static int | xrLoadRenderModelFB(XrSession
the specified session, XrRenderModelLoadInfoFB XrSession.a pointer to the info, XrRenderModelBufferFB XrRenderModelLoadInfoFB structure.a pointer to the buffer)XrRenderModelBufferFB structure to write the binary data into.Load binary data for a render model. |
| XR_ERROR_RENDER_MODEL_KEY_INVALID_FB | back to summary |
|---|---|
| public static final int XR_ERROR_RENDER_MODEL_KEY_INVALID_FB Extends Enum values: | |
| XR_FB_RENDER_MODEL_EXTENSION_NAME | back to summary |
|---|---|
| public static final String XR_FB_RENDER_MODEL_EXTENSION_NAME The extension name. | |
| XR_FB_render_model_SPEC_VERSION | back to summary |
|---|---|
| public static final int XR_FB_render_model_SPEC_VERSION The extension specification version. | |
| XR_MAX_RENDER_MODEL_NAME_SIZE_FB | back to summary |
|---|---|
| public static final int XR_MAX_RENDER_MODEL_NAME_SIZE_FB XR_MAX_RENDER_MODEL_NAME_SIZE_FB | |
| XR_NULL_RENDER_MODEL_KEY_FB | back to summary |
|---|---|
| public static final long XR_NULL_RENDER_MODEL_KEY_FB API Constants | |
| XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_1_BIT_FB | back to summary |
|---|---|
| public static final int XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_1_BIT_FB XrRenderModelFlagBitsFB - XrRenderModelFlagBitsFB Flag Descriptions
Render Model Support Levels: An application should request a model of a certain complexity via the | |
| XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_2_BIT_FB | back to summary |
|---|---|
| public static final int XR_RENDER_MODEL_SUPPORTS_GLTF_2_0_SUBSET_2_BIT_FB XrRenderModelFlagBitsFB - XrRenderModelFlagBitsFB Flag Descriptions
Render Model Support Levels: An application should request a model of a certain complexity via the | |
| XR_RENDER_MODEL_UNAVAILABLE_FB | back to summary |
|---|---|
| public static final int XR_RENDER_MODEL_UNAVAILABLE_FB Extends Enum values: | |
| XR_TYPE_RENDER_MODEL_BUFFER_FB | back to summary |
|---|---|
| public static final int XR_TYPE_RENDER_MODEL_BUFFER_FB Extends Enum values: | |
| XR_TYPE_RENDER_MODEL_CAPABILITIES_REQUEST_FB | back to summary |
|---|---|
| public static final int XR_TYPE_RENDER_MODEL_CAPABILITIES_REQUEST_FB Extends Enum values: | |
| XR_TYPE_RENDER_MODEL_LOAD_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_RENDER_MODEL_LOAD_INFO_FB Extends Enum values: | |
| XR_TYPE_RENDER_MODEL_PATH_INFO_FB | back to summary |
|---|---|
| public static final int XR_TYPE_RENDER_MODEL_PATH_INFO_FB Extends Enum values: | |
| XR_TYPE_RENDER_MODEL_PROPERTIES_FB | back to summary |
|---|---|
| public static final int XR_TYPE_RENDER_MODEL_PROPERTIES_FB Extends Enum values: | |
| XR_TYPE_SYSTEM_RENDER_MODEL_PROPERTIES_FB | back to summary |
|---|---|
| public static final int XR_TYPE_SYSTEM_RENDER_MODEL_PROPERTIES_FB Extends Enum values: | |
| FBRenderModel | back to summary |
|---|---|
| protected FBRenderModel() | |
| nxrEnumerateRenderModelPathsFB | back to summary |
|---|---|
| public static int nxrEnumerateRenderModelPathsFB(XrSession session, int pathCapacityInput, long pathCountOutput, long paths) Unsafe version of:
| |
| nxrGetRenderModelPropertiesFB | back to summary |
|---|---|
| public static int nxrGetRenderModelPropertiesFB(XrSession session, long path, long properties) Unsafe version of: | |
| nxrLoadRenderModelFB | back to summary |
|---|---|
| public static int nxrLoadRenderModelFB(XrSession session, long info, long buffer) Unsafe version of: | |
| xrEnumerateRenderModelPathsFB | back to summary |
|---|---|
| public static int xrEnumerateRenderModelPathsFB(XrSession session, IntBuffer pathCountOutput, XrRenderModelPathInfoFB. Enumerate supported render model paths. C SpecificationThe
DescriptionThe application must call Valid Usage (Implicit)
Return Codes
See Also
| |
| xrGetRenderModelPropertiesFB | back to summary |
|---|---|
| public static int xrGetRenderModelPropertiesFB(XrSession session, long path, XrRenderModelPropertiesFB properties) Get information for a render model. C SpecificationThe
Description
The runtime must return If Valid Usage (Implicit)
Return Codes
See Also
| |
| xrLoadRenderModelFB | back to summary |
|---|---|
| public static int xrLoadRenderModelFB(XrSession session, XrRenderModelLoadInfoFB info, XrRenderModelBufferFB buffer) Load binary data for a render model. C SpecificationThe
Description
If the device for the requested model is disconnected or does not match the The Valid Usage (Implicit)
Return Codes
See Also
| |