Blender  V3.3
Classes | Functions
GHOST_XrGraphicsBinding.cpp File Reference
#include <algorithm>
#include <list>
#include <sstream>
#include "GHOST_C-api.h"
#include "GHOST_XrException.h"
#include "GHOST_Xr_intern.h"
#include "GHOST_IXrGraphicsBinding.h"

Go to the source code of this file.

Classes

class  GHOST_XrGraphicsBindingOpenGL
 

Functions

static std::optional< int64_tchoose_swapchain_format_from_candidates (const std::vector< int64_t > &gpu_binding_formats, const std::vector< int64_t > &runtime_formats)
 
std::unique_ptr< GHOST_IXrGraphicsBindingGHOST_XrGraphicsBindingCreateFromType (GHOST_TXrGraphicsBinding type, GHOST_Context &context)
 

Function Documentation

◆ choose_swapchain_format_from_candidates()

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 
)
static

◆ GHOST_XrGraphicsBindingCreateFromType()

std::unique_ptr<GHOST_IXrGraphicsBinding> GHOST_XrGraphicsBindingCreateFromType ( GHOST_TXrGraphicsBinding  type,
GHOST_Context context 
)

Definition at line 474 of file GHOST_XrGraphicsBinding.cpp.

References blender::compositor::context, type, and void.

Referenced by GHOST_XrSession::start().