C Specification

The XrApplicationInfo structure is defined as:

typedef struct XrApplicationInfo {
    char        applicationName[XR_MAX_APPLICATION_NAME_SIZE];
    uint32_t    applicationVersion;
    char        engineName[XR_MAX_ENGINE_NAME_SIZE];
    uint32_t    engineVersion;
    uint32_t    apiVersion;
} XrApplicationInfo;

Members

Member Descriptions
  • applicationName is a string containing the name of the application.

  • applicationVersion is an unsigned integer variable containing the developer-supplied version number of the application.

  • engineName is a string containing the name of the engine (if any) used to create the application. May be empty to indicate no specified engine.

  • engineVersion is an unsigned integer variable containing the developer-supplied version number of the engine used to create the application. May be zero to indicate no specified engine.

  • apiVersion is the version of this API against which the application will run, encoded as described in the API Version Numbers and Semantics section. If the runtime does not support the requested apiVersion it must return XR_ERROR_DRIVER_INCOMPATIBLE. apiVersion must be zero, or otherwise it must be a version that the runtime supports, or supports an effective substitute for.

Description

Valid Usage (Implicit)
  • applicationName must be a null-terminated UTF-8 string whose length is less than or equal to XR_MAX_APPLICATION_NAME_SIZE

  • applicationVersion must be a valid uint32_t value

  • engineName must be a null-terminated UTF-8 string whose length is less than or equal to XR_MAX_ENGINE_NAME_SIZE

  • engineVersion must be a valid uint32_t value

  • apiVersion must be a valid uint32_t value

See Also

Document Notes

For more information, see the OpenXR Specification at URL

This page is extracted from the OpenXR Specification. Fixes and changes should be made to the Specification, not directly.

Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.