[][src]Struct ash::vk::SwapchainCreateInfoKHR

#[repr(C)]pub struct SwapchainCreateInfoKHR {
    pub s_type: StructureType,
    pub p_next: *const c_void,
    pub flags: SwapchainCreateFlagsKHR,
    pub surface: SurfaceKHR,
    pub min_image_count: u32,
    pub image_format: Format,
    pub image_color_space: ColorSpaceKHR,
    pub image_extent: Extent2D,
    pub image_array_layers: u32,
    pub image_usage: ImageUsageFlags,
    pub image_sharing_mode: SharingMode,
    pub queue_family_index_count: u32,
    pub p_queue_family_indices: *const u32,
    pub pre_transform: SurfaceTransformFlagsKHR,
    pub composite_alpha: CompositeAlphaFlagsKHR,
    pub present_mode: PresentModeKHR,
    pub clipped: Bool32,
    pub old_swapchain: SwapchainKHR,
}

https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VkSwapchainCreateInfoKHR.html

Fields

s_type: StructureTypep_next: *const c_voidflags: SwapchainCreateFlagsKHRsurface: SurfaceKHRmin_image_count: u32image_format: Formatimage_color_space: ColorSpaceKHRimage_extent: Extent2Dimage_array_layers: u32image_usage: ImageUsageFlagsimage_sharing_mode: SharingModequeue_family_index_count: u32p_queue_family_indices: *const u32pre_transform: SurfaceTransformFlagsKHRcomposite_alpha: CompositeAlphaFlagsKHRpresent_mode: PresentModeKHRclipped: Bool32old_swapchain: SwapchainKHR

Methods

impl SwapchainCreateInfoKHR[src]

pub fn builder<'a>() -> SwapchainCreateInfoKHRBuilder<'a>[src]

Trait Implementations

impl Clone for SwapchainCreateInfoKHR[src]

impl Copy for SwapchainCreateInfoKHR[src]

impl Debug for SwapchainCreateInfoKHR[src]

impl Default for SwapchainCreateInfoKHR[src]

Auto Trait Implementations

impl RefUnwindSafe for SwapchainCreateInfoKHR

impl !Send for SwapchainCreateInfoKHR

impl !Sync for SwapchainCreateInfoKHR

impl Unpin for SwapchainCreateInfoKHR

impl UnwindSafe for SwapchainCreateInfoKHR

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.