Skip to content

KDGpu::SwapchainOptions

#include <swapchain_options.h>

Public Attributes

Name
std::string_view label
Handle< Surface_t > surface
Format format
ColorSpace colorSpace
uint32_t minImageCount
Extent2D imageExtent
uint32_t imageLayers
TextureUsageFlags imageUsageFlags
SharingMode imageSharingMode
std::vector< uint32_t > queueTypeIndices
SurfaceTransformFlagBits transform
CompositeAlphaFlagBits compositeAlpha
PresentMode presentMode
bool clipped
Handle< Swapchain_t > oldSwapchain

Public Attributes Documentation

variable label

1
std::string_view label;

variable surface

1
Handle< Surface_t > surface;

variable format

1
Format format { Format::B8G8R8A8_UNORM };

variable colorSpace

1
ColorSpace colorSpace { ColorSpace::SRgbNonlinear };

variable minImageCount

1
uint32_t minImageCount { 3 };

variable imageExtent

1
Extent2D imageExtent;

variable imageLayers

1
uint32_t imageLayers { 1 };

variable imageUsageFlags

1
TextureUsageFlags imageUsageFlags { TextureUsageFlagBits::ColorAttachmentBit };

variable imageSharingMode

1
SharingMode imageSharingMode { SharingMode::Exclusive };

variable queueTypeIndices

1
std::vector< uint32_t > queueTypeIndices;

variable transform

1
SurfaceTransformFlagBits transform { SurfaceTransformFlagBits::IdentityBit };

variable compositeAlpha

1
CompositeAlphaFlagBits compositeAlpha { CompositeAlphaFlagBits::OpaqueBit };

variable presentMode

1
PresentMode presentMode { PresentMode::Mailbox };

variable clipped

1
bool clipped { true };

variable oldSwapchain

1
Handle< Swapchain_t > oldSwapchain;

Updated on 2024-12-15 at 00:01:55 +0000