Vulkan-Hpp
vk::SwapchainCreateInfoKHR Struct Reference

#include <vulkan_structs.hpp>

Public Types

using NativeType = VkSwapchainCreateInfoKHR
 

Public Member Functions

VULKAN_HPP_CONSTEXPR SwapchainCreateInfoKHR (vk::SwapchainCreateFlagsKHR flags_={}, vk::SurfaceKHR surface_={}, uint32_t minImageCount_={}, vk::Format imageFormat_=vk::Format::eUndefined, vk::ColorSpaceKHR imageColorSpace_=vk::ColorSpaceKHR::eSrgbNonlinear, vk::Extent2D imageExtent_={}, uint32_t imageArrayLayers_={}, vk::ImageUsageFlags imageUsage_={}, vk::SharingMode imageSharingMode_=vk::SharingMode::eExclusive, uint32_t queueFamilyIndexCount_={}, const uint32_t *pQueueFamilyIndices_={}, vk::SurfaceTransformFlagBitsKHR preTransform_=vk::SurfaceTransformFlagBitsKHR::eIdentity, vk::CompositeAlphaFlagBitsKHR compositeAlpha_=vk::CompositeAlphaFlagBitsKHR::eOpaque, vk::PresentModeKHR presentMode_=vk::PresentModeKHR::eImmediate, vk::Bool32 clipped_={}, vk::SwapchainKHR oldSwapchain_={}, const void *pNext_=nullptr) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR SwapchainCreateInfoKHR (SwapchainCreateInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 SwapchainCreateInfoKHR (VkSwapchainCreateInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
 SwapchainCreateInfoKHR (vk::SwapchainCreateFlagsKHR flags_, vk::SurfaceKHR surface_, uint32_t minImageCount_, vk::Format imageFormat_, vk::ColorSpaceKHR imageColorSpace_, vk::Extent2D imageExtent_, uint32_t imageArrayLayers_, vk::ImageUsageFlags imageUsage_, vk::SharingMode imageSharingMode_, vk::ArrayProxyNoTemporaries< const uint32_t > const &queueFamilyIndices_, vk::SurfaceTransformFlagBitsKHR preTransform_=vk::SurfaceTransformFlagBitsKHR::eIdentity, vk::CompositeAlphaFlagBitsKHR compositeAlpha_=vk::CompositeAlphaFlagBitsKHR::eOpaque, vk::PresentModeKHR presentMode_=vk::PresentModeKHR::eImmediate, vk::Bool32 clipped_={}, vk::SwapchainKHR oldSwapchain_={}, const void *pNext_=nullptr)
 
SwapchainCreateInfoKHRoperator= (SwapchainCreateInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT=default
 
SwapchainCreateInfoKHRoperator= (VkSwapchainCreateInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetFlags (vk::SwapchainCreateFlagsKHR flags_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetSurface (vk::SurfaceKHR surface_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetMinImageCount (uint32_t minImageCount_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetImageFormat (vk::Format imageFormat_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetImageColorSpace (vk::ColorSpaceKHR imageColorSpace_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetImageExtent (vk::Extent2D const &imageExtent_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetImageArrayLayers (uint32_t imageArrayLayers_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetImageUsage (vk::ImageUsageFlags imageUsage_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetImageSharingMode (vk::SharingMode imageSharingMode_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetQueueFamilyIndexCount (uint32_t queueFamilyIndexCount_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetPQueueFamilyIndices (const uint32_t *pQueueFamilyIndices_) VULKAN_HPP_NOEXCEPT
 
SwapchainCreateInfoKHRsetQueueFamilyIndices (vk::ArrayProxyNoTemporaries< const uint32_t > const &queueFamilyIndices_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetPreTransform (vk::SurfaceTransformFlagBitsKHR preTransform_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetCompositeAlpha (vk::CompositeAlphaFlagBitsKHR compositeAlpha_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetPresentMode (vk::PresentModeKHR presentMode_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetClipped (vk::Bool32 clipped_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHRsetOldSwapchain (vk::SwapchainKHR oldSwapchain_) VULKAN_HPP_NOEXCEPT
 
 operator VkSwapchainCreateInfoKHR const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkSwapchainCreateInfoKHR & () VULKAN_HPP_NOEXCEPT
 
bool operator== (SwapchainCreateInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (SwapchainCreateInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
 

Public Attributes

vk::StructureType sType = StructureType::eSwapchainCreateInfoKHR
 
const void * pNext = {}
 
vk::SwapchainCreateFlagsKHR flags = {}
 
vk::SurfaceKHR surface = {}
 
uint32_t minImageCount = {}
 
vk::Format imageFormat = vk::Format::eUndefined
 
vk::ColorSpaceKHR imageColorSpace = vk::ColorSpaceKHR::eSrgbNonlinear
 
vk::Extent2D imageExtent = {}
 
uint32_t imageArrayLayers = {}
 
vk::ImageUsageFlags imageUsage = {}
 
vk::SharingMode imageSharingMode = vk::SharingMode::eExclusive
 
uint32_t queueFamilyIndexCount = {}
 
const uint32_t * pQueueFamilyIndices = {}
 
vk::SurfaceTransformFlagBitsKHR preTransform = vk::SurfaceTransformFlagBitsKHR::eIdentity
 
vk::CompositeAlphaFlagBitsKHR compositeAlpha = vk::CompositeAlphaFlagBitsKHR::eOpaque
 
vk::PresentModeKHR presentMode = vk::PresentModeKHR::eImmediate
 
vk::Bool32 clipped = {}
 
vk::SwapchainKHR oldSwapchain = {}
 

Static Public Attributes

static const bool allowDuplicate = false
 
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSwapchainCreateInfoKHR
 

Detailed Description

Definition at line 111073 of file vulkan_structs.hpp.

Member Typedef Documentation

◆ NativeType

Constructor & Destructor Documentation

◆ SwapchainCreateInfoKHR() [1/4]

VULKAN_HPP_CONSTEXPR vk::SwapchainCreateInfoKHR::SwapchainCreateInfoKHR ( vk::SwapchainCreateFlagsKHR  flags_ = {},
vk::SurfaceKHR  surface_ = {},
uint32_t  minImageCount_ = {},
vk::Format  imageFormat_ = vk::Format::eUndefined,
vk::ColorSpaceKHR  imageColorSpace_ = vk::ColorSpaceKHR::eSrgbNonlinear,
vk::Extent2D  imageExtent_ = {},
uint32_t  imageArrayLayers_ = {},
vk::ImageUsageFlags  imageUsage_ = {},
vk::SharingMode  imageSharingMode_ = vk::SharingMode::eExclusive,
uint32_t  queueFamilyIndexCount_ = {},
const uint32_t *  pQueueFamilyIndices_ = {},
vk::SurfaceTransformFlagBitsKHR  preTransform_ = vk::SurfaceTransformFlagBitsKHR::eIdentity,
vk::CompositeAlphaFlagBitsKHR  compositeAlpha_ = vk::CompositeAlphaFlagBitsKHR::eOpaque,
vk::PresentModeKHR  presentMode_ = vk::PresentModeKHR::eImmediate,
vk::Bool32  clipped_ = {},
vk::SwapchainKHR  oldSwapchain_ = {},
const void *  pNext_ = nullptr 
)
inline

Definition at line 111082 of file vulkan_structs.hpp.

◆ SwapchainCreateInfoKHR() [2/4]

VULKAN_HPP_CONSTEXPR vk::SwapchainCreateInfoKHR::SwapchainCreateInfoKHR ( SwapchainCreateInfoKHR const &  rhs)
default

◆ SwapchainCreateInfoKHR() [3/4]

vk::SwapchainCreateInfoKHR::SwapchainCreateInfoKHR ( VkSwapchainCreateInfoKHR const &  rhs)
inline

Definition at line 111121 of file vulkan_structs.hpp.

◆ SwapchainCreateInfoKHR() [4/4]

vk::SwapchainCreateInfoKHR::SwapchainCreateInfoKHR ( vk::SwapchainCreateFlagsKHR  flags_,
vk::SurfaceKHR  surface_,
uint32_t  minImageCount_,
vk::Format  imageFormat_,
vk::ColorSpaceKHR  imageColorSpace_,
vk::Extent2D  imageExtent_,
uint32_t  imageArrayLayers_,
vk::ImageUsageFlags  imageUsage_,
vk::SharingMode  imageSharingMode_,
vk::ArrayProxyNoTemporaries< const uint32_t > const &  queueFamilyIndices_,
vk::SurfaceTransformFlagBitsKHR  preTransform_ = vk::SurfaceTransformFlagBitsKHR::eIdentity,
vk::CompositeAlphaFlagBitsKHR  compositeAlpha_ = vk::CompositeAlphaFlagBitsKHR::eOpaque,
vk::PresentModeKHR  presentMode_ = vk::PresentModeKHR::eImmediate,
vk::Bool32  clipped_ = {},
vk::SwapchainKHR  oldSwapchain_ = {},
const void *  pNext_ = nullptr 
)
inline

Definition at line 111127 of file vulkan_structs.hpp.

Member Function Documentation

◆ operator VkSwapchainCreateInfoKHR &()

vk::SwapchainCreateInfoKHR::operator VkSwapchainCreateInfoKHR & ( )
inline

Definition at line 111292 of file vulkan_structs.hpp.

◆ operator VkSwapchainCreateInfoKHR const &()

vk::SwapchainCreateInfoKHR::operator VkSwapchainCreateInfoKHR const & ( ) const
inline

Definition at line 111287 of file vulkan_structs.hpp.

◆ operator!=()

bool vk::SwapchainCreateInfoKHR::operator!= ( SwapchainCreateInfoKHR const &  rhs) const
inline

Definition at line 111360 of file vulkan_structs.hpp.

◆ operator=() [1/2]

SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::operator= ( SwapchainCreateInfoKHR const &  rhs)
default

◆ operator=() [2/2]

SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::operator= ( VkSwapchainCreateInfoKHR const &  rhs)
inline

Definition at line 111167 of file vulkan_structs.hpp.

◆ operator==()

bool vk::SwapchainCreateInfoKHR::operator== ( SwapchainCreateInfoKHR const &  rhs) const
inline

Definition at line 111346 of file vulkan_structs.hpp.

◆ setClipped()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setClipped ( vk::Bool32  clipped_)
inline

Definition at line 111274 of file vulkan_structs.hpp.

◆ setCompositeAlpha()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setCompositeAlpha ( vk::CompositeAlphaFlagBitsKHR  compositeAlpha_)
inline

Definition at line 111262 of file vulkan_structs.hpp.

◆ setFlags()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setFlags ( vk::SwapchainCreateFlagsKHR  flags_)
inline

Definition at line 111180 of file vulkan_structs.hpp.

◆ setImageArrayLayers()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setImageArrayLayers ( uint32_t  imageArrayLayers_)
inline

Definition at line 111216 of file vulkan_structs.hpp.

◆ setImageColorSpace()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setImageColorSpace ( vk::ColorSpaceKHR  imageColorSpace_)
inline

Definition at line 111204 of file vulkan_structs.hpp.

◆ setImageExtent()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setImageExtent ( vk::Extent2D const &  imageExtent_)
inline

Definition at line 111210 of file vulkan_structs.hpp.

◆ setImageFormat()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setImageFormat ( vk::Format  imageFormat_)
inline

Definition at line 111198 of file vulkan_structs.hpp.

◆ setImageSharingMode()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setImageSharingMode ( vk::SharingMode  imageSharingMode_)
inline

Definition at line 111228 of file vulkan_structs.hpp.

◆ setImageUsage()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setImageUsage ( vk::ImageUsageFlags  imageUsage_)
inline

Definition at line 111222 of file vulkan_structs.hpp.

◆ setMinImageCount()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setMinImageCount ( uint32_t  minImageCount_)
inline

Definition at line 111192 of file vulkan_structs.hpp.

◆ setOldSwapchain()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setOldSwapchain ( vk::SwapchainKHR  oldSwapchain_)
inline

Definition at line 111280 of file vulkan_structs.hpp.

◆ setPNext()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setPNext ( const void *  pNext_)
inline

Definition at line 111174 of file vulkan_structs.hpp.

◆ setPQueueFamilyIndices()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setPQueueFamilyIndices ( const uint32_t *  pQueueFamilyIndices_)
inline

Definition at line 111240 of file vulkan_structs.hpp.

◆ setPresentMode()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setPresentMode ( vk::PresentModeKHR  presentMode_)
inline

Definition at line 111268 of file vulkan_structs.hpp.

◆ setPreTransform()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setPreTransform ( vk::SurfaceTransformFlagBitsKHR  preTransform_)
inline

Definition at line 111256 of file vulkan_structs.hpp.

◆ setQueueFamilyIndexCount()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setQueueFamilyIndexCount ( uint32_t  queueFamilyIndexCount_)
inline

Definition at line 111234 of file vulkan_structs.hpp.

◆ setQueueFamilyIndices()

SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setQueueFamilyIndices ( vk::ArrayProxyNoTemporaries< const uint32_t > const &  queueFamilyIndices_)
inline

Definition at line 111248 of file vulkan_structs.hpp.

◆ setSurface()

VULKAN_HPP_CONSTEXPR_14 SwapchainCreateInfoKHR& vk::SwapchainCreateInfoKHR::setSurface ( vk::SurfaceKHR  surface_)
inline

Definition at line 111186 of file vulkan_structs.hpp.

Member Data Documentation

◆ allowDuplicate

const bool vk::SwapchainCreateInfoKHR::allowDuplicate = false
static

Definition at line 111077 of file vulkan_structs.hpp.

◆ clipped

vk::Bool32 vk::SwapchainCreateInfoKHR::clipped = {}

Definition at line 111383 of file vulkan_structs.hpp.

◆ compositeAlpha

vk::CompositeAlphaFlagBitsKHR vk::SwapchainCreateInfoKHR::compositeAlpha = vk::CompositeAlphaFlagBitsKHR::eOpaque

Definition at line 111381 of file vulkan_structs.hpp.

◆ flags

vk::SwapchainCreateFlagsKHR vk::SwapchainCreateInfoKHR::flags = {}

Definition at line 111369 of file vulkan_structs.hpp.

◆ imageArrayLayers

uint32_t vk::SwapchainCreateInfoKHR::imageArrayLayers = {}

Definition at line 111375 of file vulkan_structs.hpp.

◆ imageColorSpace

vk::ColorSpaceKHR vk::SwapchainCreateInfoKHR::imageColorSpace = vk::ColorSpaceKHR::eSrgbNonlinear

Definition at line 111373 of file vulkan_structs.hpp.

◆ imageExtent

vk::Extent2D vk::SwapchainCreateInfoKHR::imageExtent = {}

Definition at line 111374 of file vulkan_structs.hpp.

◆ imageFormat

vk::Format vk::SwapchainCreateInfoKHR::imageFormat = vk::Format::eUndefined

Definition at line 111372 of file vulkan_structs.hpp.

◆ imageSharingMode

vk::SharingMode vk::SwapchainCreateInfoKHR::imageSharingMode = vk::SharingMode::eExclusive

Definition at line 111377 of file vulkan_structs.hpp.

◆ imageUsage

vk::ImageUsageFlags vk::SwapchainCreateInfoKHR::imageUsage = {}

Definition at line 111376 of file vulkan_structs.hpp.

◆ minImageCount

uint32_t vk::SwapchainCreateInfoKHR::minImageCount = {}

Definition at line 111371 of file vulkan_structs.hpp.

◆ oldSwapchain

vk::SwapchainKHR vk::SwapchainCreateInfoKHR::oldSwapchain = {}

Definition at line 111384 of file vulkan_structs.hpp.

◆ pNext

const void* vk::SwapchainCreateInfoKHR::pNext = {}

Definition at line 111368 of file vulkan_structs.hpp.

◆ pQueueFamilyIndices

const uint32_t* vk::SwapchainCreateInfoKHR::pQueueFamilyIndices = {}

Definition at line 111379 of file vulkan_structs.hpp.

◆ presentMode

vk::PresentModeKHR vk::SwapchainCreateInfoKHR::presentMode = vk::PresentModeKHR::eImmediate

Definition at line 111382 of file vulkan_structs.hpp.

◆ preTransform

Definition at line 111380 of file vulkan_structs.hpp.

◆ queueFamilyIndexCount

uint32_t vk::SwapchainCreateInfoKHR::queueFamilyIndexCount = {}

Definition at line 111378 of file vulkan_structs.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType vk::SwapchainCreateInfoKHR::structureType = StructureType::eSwapchainCreateInfoKHR
static

Definition at line 111078 of file vulkan_structs.hpp.

◆ sType

vk::StructureType vk::SwapchainCreateInfoKHR::sType = StructureType::eSwapchainCreateInfoKHR

Definition at line 111367 of file vulkan_structs.hpp.

◆ surface

vk::SurfaceKHR vk::SwapchainCreateInfoKHR::surface = {}

Definition at line 111370 of file vulkan_structs.hpp.


The documentation for this struct was generated from the following file: