Skip to content

KDGpu::Swapchain

Module: Public API

Swapchain.

#include <swapchain.h>

Public Functions

Name
Swapchain()
~Swapchain()
Swapchain(Swapchain && other)
Swapchain & operator=(Swapchain && other)
Swapchain(const Swapchain & ) =delete
Swapchain & operator=(const Swapchain & ) =delete
const Handle< Swapchain_t > & handle() const
bool isValid() const
operator Handle< Swapchain_t >() const
const std::vector< Texture > & textures() const
AcquireImageResult getNextImageIndex(uint32_t & imageIndex, const Handle< GpuSemaphore_t > & semaphore =Handle< GpuSemaphore_t >())

Friends

Name
class Device

Public Functions Documentation

function Swapchain

1
Swapchain()

function ~Swapchain

1
~Swapchain()

function Swapchain

1
2
3
Swapchain(
    Swapchain && other
)

function operator=

1
2
3
Swapchain & operator=(
    Swapchain && other
)

function Swapchain

1
2
3
Swapchain(
    const Swapchain & 
) =delete

function operator=

1
2
3
Swapchain & operator=(
    const Swapchain & 
) =delete

function handle

1
inline const Handle< Swapchain_t > & handle() const

function isValid

1
inline bool isValid() const

function operator Handle< Swapchain_t >

1
inline operator Handle< Swapchain_t >() const

function textures

1
inline const std::vector< Texture > & textures() const

function getNextImageIndex

1
2
3
4
AcquireImageResult getNextImageIndex(
    uint32_t & imageIndex,
    const Handle< GpuSemaphore_t > & semaphore =Handle< GpuSemaphore_t >()
)

Friends

friend Device

1
2
3
friend class Device(
    Device 
);

Updated on 2024-12-01 at 00:01:41 +0000