Skip to content

KDXr::SwapchainOptions

Module: Public API

Holds option fields used for Swapchain creation.

#include <KDXr/swapchain.h>

Public Attributes

Name
KDGpu::Format format
SwapchainUsageFlags usage
uint32_t width
uint32_t height
uint32_t arrayLayers
uint32_t faceCount
uint32_t mipLevels
uint32_t sampleCount

Public Attributes Documentation

variable format

1
KDGpu::Format format { KDGpu::Format::UNDEFINED };

variable usage

1
SwapchainUsageFlags usage { SwapchainUsageFlagBits::ColorAttachmentBit | SwapchainUsageFlagBits::SampledBit };

variable width

1
uint32_t width { 0 };

variable height

1
uint32_t height { 0 };

variable arrayLayers

1
uint32_t arrayLayers { 1 };

variable faceCount

1
uint32_t faceCount { 1 };

variable mipLevels

1
uint32_t mipLevels { 1 };

variable sampleCount

1
uint32_t sampleCount { 1 };

Updated on 2024-11-22 at 00:02:02 +0000