#[repr(C)]pub struct VkSwapchainCreateInfoKHR {Show 18 fields
pub sType: VkStructureType,
pub pNext: *const void,
pub flags: VkSwapchainCreateFlagsKHR,
pub surface: VkSurfaceKHR,
pub minImageCount: uint32_t,
pub imageFormat: VkFormat,
pub imageColorSpace: VkColorSpaceKHR,
pub imageExtent: VkExtent2D,
pub imageArrayLayers: uint32_t,
pub imageUsage: VkImageUsageFlags,
pub imageSharingMode: VkSharingMode,
pub queueFamilyIndexCount: uint32_t,
pub pQueueFamilyIndices: *const uint32_t,
pub preTransform: VkSurfaceTransformFlagsKHR,
pub compositeAlpha: VkCompositeAlphaFlagsKHR,
pub presentMode: VkPresentModeKHR,
pub clipped: VkBool32,
pub oldSwapchain: VkSwapchainKHR,
}Expand description
VkSwapchainCreateInfoKHR
Fields§
§sType: VkStructureType§pNext: *const void§flags: VkSwapchainCreateFlagsKHR§surface: VkSurfaceKHRThe swapchain’s target surface
minImageCount: uint32_tMinimum number of presentation images the application needs
imageFormat: VkFormatFormat of the presentation images
imageColorSpace: VkColorSpaceKHRColorspace of the presentation images
imageExtent: VkExtent2DDimensions of the presentation images
imageArrayLayers: uint32_tDetermines the number of views for multiview/stereo presentation
imageUsage: VkImageUsageFlagsBits indicating how the presentation images will be used
imageSharingMode: VkSharingModeSharing mode used for the presentation images
queueFamilyIndexCount: uint32_tNumber of queue families having access to the images in case of concurrent sharing mode
pQueueFamilyIndices: *const uint32_tArray of queue family indices having access to the images in case of concurrent sharing mode
preTransform: VkSurfaceTransformFlagsKHRThe transform, relative to the device’s natural orientation, applied to the image content prior to presentation
compositeAlpha: VkCompositeAlphaFlagsKHRThe alpha blending mode used when compositing this surface with other surfaces in the window system
presentMode: VkPresentModeKHRWhich presentation mode to use for presents on this swap chain
clipped: VkBool32Specifies whether presentable images may be affected by window clip regions
oldSwapchain: VkSwapchainKHRExisting swap chain to replace, if any
Implementations§
Trait Implementations§
Source§impl Chainable for VkSwapchainCreateInfoKHR
impl Chainable for VkSwapchainCreateInfoKHR
Source§const TYPE: VkStructureType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR
const TYPE: VkStructureType = VK_STRUCTURE_TYPE_SWAPCHAIN_CREATE_INFO_KHR
sType fieldSource§fn p_next_mut(&mut self) -> &mut *mut c_void
fn p_next_mut(&mut self) -> &mut *mut c_void
pNext fieldSource§unsafe fn push_next<E: Extend<Self>>(&mut self, ex: &mut E) -> &mut Self
unsafe fn push_next<E: Extend<Self>>(&mut self, ex: &mut E) -> &mut Self
Source§unsafe fn next(&self) -> Option<&VkBaseInStructure>
unsafe fn next(&self) -> Option<&VkBaseInStructure>
Source§unsafe fn next_mut(&mut self) -> Option<&mut VkBaseOutStructure>
unsafe fn next_mut(&mut self) -> Option<&mut VkBaseOutStructure>
Source§unsafe fn upcast(&self) -> &VkBaseInStructure
unsafe fn upcast(&self) -> &VkBaseInStructure
VkBaseInStructureSource§unsafe fn upcast_mut(&mut self) -> &mut VkBaseOutStructure
unsafe fn upcast_mut(&mut self) -> &mut VkBaseOutStructure
VkBaseOutStructureSource§impl Clone for VkSwapchainCreateInfoKHR
impl Clone for VkSwapchainCreateInfoKHR
Source§fn clone(&self) -> VkSwapchainCreateInfoKHR
fn clone(&self) -> VkSwapchainCreateInfoKHR
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more