Blender V5.3
GHOST_XrGraphicsBindingVulkan.cc File Reference
#include <algorithm>
#include <cstring>
#include <sstream>
#include "GHOST_ContextVK.hh"
#include "GHOST_XrException.hh"
#include "GHOST_XrGraphicsBindingVulkan.hh"
#include "GHOST_Xr_intern.hh"
#include "BLI_string_ref.hh"
#include "BLI_vector.hh"

Go to the source code of this file.

Macros

#define LOAD_FUNCTION(fn_ptr, name)

Functions

static blender::Vector< std::string > split_extension_names (blender::StringRef extension_names)
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:
XR_SUCCEEDED(xrGetInstanceProcAddr(instance, #name, (PFN_xrVoidFunction *)&fn_ptr))

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

◆ split_extension_names()

blender::Vector< std::string > split_extension_names ( blender::StringRef extension_names)
static

Definition at line 383 of file GHOST_XrGraphicsBindingVulkan.cc.

References split_extension_names().

Referenced by split_extension_names().