|
Blender V5.3
|
#include <GHOST_XrSwapchain.hh>
Public Member Functions | |
| GHOST_XrSwapchain (GHOST_IXrGraphicsBinding &gpu_binding, const XrSession &session, const XrViewConfigurationView &view_config) | |
| GHOST_XrSwapchain (GHOST_XrSwapchain &&other) | |
| ~GHOST_XrSwapchain () | |
| XrSwapchainImageBaseHeader * | acquireDrawableSwapchainImage () |
| void | releaseImage () |
| void | updateCompositionLayerProjectViewSubImage (XrSwapchainSubImage &r_sub_image) |
| GHOST_TXrSwapchainFormat | getFormat () const |
| int64_t | getGPUFormat () const |
| return the swapchain format selected by the graphic binding. | |
| bool | isBufferSRGB () const |
Definition at line 15 of file GHOST_XrSwapchain.hh.
| GHOST_XrSwapchain::GHOST_XrSwapchain | ( | GHOST_IXrGraphicsBinding & | gpu_binding, |
| const XrSession & | session, | ||
| const XrViewConfigurationView & | view_config ) |
Definition at line 39 of file GHOST_XrSwapchain.cc.
References assert, CHECK_XR, GHOST_IXrGraphicsBinding::chooseSwapchainFormat(), GHOST_XrException::GHOST_XrException(), and swapchain_images_create().
Referenced by GHOST_XrSwapchain().
| GHOST_XrSwapchain::GHOST_XrSwapchain | ( | GHOST_XrSwapchain && | other | ) |
Definition at line 82 of file GHOST_XrSwapchain.cc.
References GHOST_XrSwapchain().
| GHOST_XrSwapchain::~GHOST_XrSwapchain | ( | ) |
Definition at line 94 of file GHOST_XrSwapchain.cc.
References CHECK_XR_ASSERT.
| XrSwapchainImageBaseHeader * GHOST_XrSwapchain::acquireDrawableSwapchainImage | ( | ) |
Definition at line 102 of file GHOST_XrSwapchain.cc.
References CHECK_XR.
| GHOST_TXrSwapchainFormat GHOST_XrSwapchain::getFormat | ( | ) | const |
Definition at line 125 of file GHOST_XrSwapchain.cc.
| int64_t GHOST_XrSwapchain::getGPUFormat | ( | ) | const |
return the swapchain format selected by the graphic binding.
The GPUFormat is the result of the call to GHOST_IXrGraphicsBinding.chooseSwapchainFormat. The selection is kept as there is no 1-to-1 mapping with GHOST_TXrSwapchainFormat.
Definition at line 130 of file GHOST_XrSwapchain.cc.
| bool GHOST_XrSwapchain::isBufferSRGB | ( | ) | const |
Definition at line 135 of file GHOST_XrSwapchain.cc.
| void GHOST_XrSwapchain::releaseImage | ( | ) |
Definition at line 140 of file GHOST_XrSwapchain.cc.
References CHECK_XR.
| void GHOST_XrSwapchain::updateCompositionLayerProjectViewSubImage | ( | XrSwapchainSubImage & | r_sub_image | ) |
Definition at line 118 of file GHOST_XrSwapchain.cc.