#include <algorithm>
#include <cstring>
#include <sstream>
#include "GHOST_ContextVK.hh"
#include "GHOST_XrException.hh"
#include "GHOST_XrGraphicsBindingVulkan.hh"
#include "GHOST_Xr_intern.hh"
Go to the source code of this file.
◆ LOAD_PFN
| #define LOAD_PFN |
( |
| var, |
|
|
| name ) |
Value:if (var == nullptr && \
XR_FAILED(xrGetInstanceProcAddr(instance, #name, (PFN_xrVoidFunction *)&var))) \
{ \
var = nullptr; \
*r_requirement_info = std::string("Unable to retrieve " #name " instance function"); \
return false; \
}
Referenced by GHOST_XrGraphicsBindingVulkan::checkVersionRequirements().
◆ choose_swapchain_format_from_candidates()
| std::optional< int64_t > choose_swapchain_format_from_candidates |
( |
const std::vector< int64_t > & | gpu_binding_formats, |
|
|
const std::vector< int64_t > & | runtime_formats ) |
|
static |