godot/thirdparty/openxr/include/openxr/openxr_loader_negotiation.h

#ifndef OPENXR_LOADER_NEGOTIATION_H_
#define OPENXR_LOADER_NEGOTIATION_H_

/*
** Copyright 2017-2024, The Khronos Group Inc.
**
** SPDX-License-Identifier: Apache-2.0 OR MIT
*/

/*
** This header is generated from the Khronos OpenXR XML API Registry.
**
*/

#include "openxr.h"

#ifdef __cplusplus
extern "C" {
#endif



// XR_LOADER_VERSION_1_0 is a preprocessor guard. Do not pass it to API calls.
#define XR_LOADER_VERSION_1_0

#define XR_CURRENT_LOADER_API_LAYER_VERSION


#define XR_CURRENT_LOADER_RUNTIME_VERSION


#define XR_LOADER_INFO_STRUCT_VERSION


#define XR_API_LAYER_INFO_STRUCT_VERSION


#define XR_RUNTIME_INFO_STRUCT_VERSION


#define XR_API_LAYER_NEXT_INFO_STRUCT_VERSION


#define XR_API_LAYER_CREATE_INFO_STRUCT_VERSION


#define XR_API_LAYER_MAX_SETTINGS_PATH_SIZE


XrLoaderInterfaceStructs;
PFN_xrGetInstanceProcAddr;

XrApiLayerCreateInfo;
PFN_xrCreateApiLayerInstance;

XrApiLayerNextInfo;

XrApiLayerCreateInfo;

XrNegotiateLoaderInfo;

XrNegotiateRuntimeRequest;

XrNegotiateApiLayerRequest;

PFN_xrCreateApiLayerInstance;
PFN_xrNegotiateLoaderRuntimeInterface;
PFN_xrNegotiateLoaderApiLayerInterface;

#ifndef XR_NO_PROTOTYPES
#ifdef XR_EXTENSION_PROTOTYPES
XRAPI_ATTR XrResult XRAPI_CALL xrCreateApiLayerInstance(
    const XrInstanceCreateInfo*                 info,
    const XrApiLayerCreateInfo*                 layerInfo,
    XrInstance*                                 instance);

XRAPI_ATTR XrResult XRAPI_CALL xrNegotiateLoaderRuntimeInterface(
    const XrNegotiateLoaderInfo*                loaderInfo,
    XrNegotiateRuntimeRequest*                  runtimeRequest);

XRAPI_ATTR XrResult XRAPI_CALL xrNegotiateLoaderApiLayerInterface(
    const XrNegotiateLoaderInfo*                loaderInfo,
    const char*                                 layerName,
    XrNegotiateApiLayerRequest*                 apiLayerRequest);
#endif /* XR_EXTENSION_PROTOTYPES */
#endif /* !XR_NO_PROTOTYPES */

#ifdef __cplusplus
}
#endif

#endif