Skip to content

KDXr::ApiSwapchain

Module: API

ApiSwapchain.

#include <api_swapchain.h>

Inherited by KDXr::OpenXrSwapchain

Public Functions

Name
virtual std::vector< KDGpu::Texture > getTextures() =0
virtual AcquireSwapchainTextureResult getNextTextureIndex(uint32_t & textureIndex) =0
virtual WaitSwapchainTextureResult waitForTexture(Duration timeout =InfiniteDuration) const =0
virtual ReleaseTextureResult releaseTexture() =0

Public Functions Documentation

function getTextures

1
virtual std::vector< KDGpu::Texture > getTextures() =0

Reimplemented by: KDXr::OpenXrSwapchain::getTextures

function getNextTextureIndex

1
2
3
virtual AcquireSwapchainTextureResult getNextTextureIndex(
    uint32_t & textureIndex
) =0

Reimplemented by: KDXr::OpenXrSwapchain::getNextTextureIndex

function waitForTexture

1
2
3
virtual WaitSwapchainTextureResult waitForTexture(
    Duration timeout =InfiniteDuration
) const =0

Reimplemented by: KDXr::OpenXrSwapchain::waitForTexture

function releaseTexture

1
virtual ReleaseTextureResult releaseTexture() =0

Reimplemented by: KDXr::OpenXrSwapchain::releaseTexture


Updated on 2024-12-22 at 00:08:03 +0000