KDXr::OpenXrSwapchain
Module: OpenXR
OpenXrSwapchain. 
#include <openxr_swapchain.h>
Public Functions
Public Attributes
Public Functions Documentation
function OpenXrSwapchain
 | explicit OpenXrSwapchain(
    OpenXrResourceManager * _openxrResourceManager,
    XrSwapchain _swapchain,
    const KDGpu::Handle< Session_t > & _sessionHandle,
    const SwapchainOptions & _options
)
  | 
 
function getTextures
 | std::vector< KDGpu::Texture > getTextures()
  | 
 
function getNextTextureIndex
 | AcquireSwapchainTextureResult getNextTextureIndex(
    uint32_t & textureIndex
)
  | 
 
function waitForTexture
 | WaitSwapchainTextureResult waitForTexture(
    Duration timeout =InfiniteDuration
) const
  | 
 
function releaseTexture
 | ReleaseTextureResult releaseTexture()
  | 
 
Public Attributes Documentation
variable openxrResourceManager
 | OpenXrResourceManager * openxrResourceManager { nullptr };
  | 
 
variable swapchain
 | XrSwapchain swapchain { XR_NULL_HANDLE };
  | 
 
variable sessionHandle
 | KDGpu::Handle< Session_t > sessionHandle;
  | 
 
variable options
 | SwapchainOptions options;
  | 
 
Updated on 2025-11-02 at 00:01:42 +0000