Blender V5.0
GHOST_XrGraphicsBindingD3D.cc File Reference
#include <algorithm>
#include <sstream>
#include "GHOST_SystemWin32.hh"
#include "GHOST_XrException.hh"
#include "GHOST_XrGraphicsBindingD3D.hh"

Go to the source code of this file.

Functions

static void ghost_format_to_dx_format (GHOST_TXrSwapchainFormat ghost_format, bool expects_srgb_buffer, DXGI_FORMAT &r_dx_format)
static std::optional< int64_tchoose_swapchain_format_from_candidates (const std::vector< int64_t > &gpu_binding_formats, const std::vector< int64_t > &runtime_formats)

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

◆ ghost_format_to_dx_format()

void ghost_format_to_dx_format ( GHOST_TXrSwapchainFormat ghost_format,
bool expects_srgb_buffer,
DXGI_FORMAT & r_dx_format )
static