Blender V5.3
GHOST_XrGraphicsBindingMetal.mm File Reference

Go to the source code of this file.

Macros

#define LOAD_FUNCTION(fn_ptr, name)

Functions

static std::optional< int64_t > choose_swapchain_format_from_candidates (const std::vector< int64_t > &gpu_binding_formats, const std::vector< int64_t > &runtime_formats)

Macro Definition Documentation

◆ LOAD_FUNCTION

#define LOAD_FUNCTION ( fn_ptr,
name )
Value:
if (XR_FAILED(xrGetInstanceProcAddr(instance, #name, (PFN_xrVoidFunction *)&fn_ptr))) { \
return false; \
}

Function Documentation

◆ 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