#include <GHOST_IXrGraphicsBinding.hh>
Inherited by GHOST_XrGraphicsBindingD3D, GHOST_XrGraphicsBindingMetal, and GHOST_XrGraphicsBindingVulkan.
Definition at line 19 of file GHOST_IXrGraphicsBinding.hh.
◆ ~GHOST_IXrGraphicsBinding()
| virtual GHOST_IXrGraphicsBinding::~GHOST_IXrGraphicsBinding |
( |
| ) |
|
|
virtualdefault |
◆ GHOST_IXrGraphicsBinding()
| GHOST_IXrGraphicsBinding::GHOST_IXrGraphicsBinding |
( |
| ) |
|
|
protecteddefault |
◆ checkVersionRequirements()
| virtual bool GHOST_IXrGraphicsBinding::checkVersionRequirements |
( |
class GHOST_Context & | ghost_ctx, |
|
|
XrInstance | instance, |
|
|
XrSystemId | system_id, |
|
|
std::string * | r_requirement_info ) const |
|
pure virtual |
◆ chooseSwapchainFormat()
| virtual std::optional< int64_t > GHOST_IXrGraphicsBinding::chooseSwapchainFormat |
( |
const std::vector< int64_t > & | runtime_formats, |
|
|
GHOST_TXrSwapchainFormat & | r_format, |
|
|
bool & | r_is_rgb_format ) const |
|
pure virtual |
◆ createSwapchainImages()
| virtual std::vector< XrSwapchainImageBaseHeader * > GHOST_IXrGraphicsBinding::createSwapchainImages |
( |
uint32_t | image_count | ) |
|
|
pure virtual |
◆ initFromGhostContext()
| virtual void GHOST_IXrGraphicsBinding::initFromGhostContext |
( |
class GHOST_Context & | ghost_ctx, |
|
|
XrInstance | instance, |
|
|
XrSystemId | system_id ) |
|
pure virtual |
◆ loadExtensionFunctions()
| virtual bool GHOST_IXrGraphicsBinding::loadExtensionFunctions |
( |
XrInstance | instance | ) |
|
|
pure virtual |
load the functions for the graphics binding.
A graphic binding uses an extension. These extensions provide graphics platform specific functions. This function is called before checkVersionRequirements allowing to preload the function pointers.
- Parameters
-
| instance | XrInstance where to retrieve the functions from. |
- Returns
- true when the extensions functions were successfully loaded, return false when the extension functions could not be loaded or would not allow to use the binding.
- Note
- These functions should be stored as instance variable as they can differ between XrSessions.
Implemented in GHOST_XrGraphicsBindingD3D, GHOST_XrGraphicsBindingMetal, and GHOST_XrGraphicsBindingVulkan.
◆ needsUpsideDownDrawing()
| virtual bool GHOST_IXrGraphicsBinding::needsUpsideDownDrawing |
( |
GHOST_Context & | ghost_ctx | ) |
const |
|
pure virtual |
◆ submitToSwapchainBegin()
| virtual void GHOST_IXrGraphicsBinding::submitToSwapchainBegin |
( |
| ) |
|
|
pure virtual |
◆ submitToSwapchainEnd()
| virtual void GHOST_IXrGraphicsBinding::submitToSwapchainEnd |
( |
| ) |
|
|
pure virtual |
◆ submitToSwapchainImage()
| virtual void GHOST_IXrGraphicsBinding::submitToSwapchainImage |
( |
XrSwapchainImageBaseHeader & | swapchain_image, |
|
|
const GHOST_XrDrawViewInfo & | draw_info ) |
|
pure virtual |
◆ oxr_binding
The documentation for this class was generated from the following file: