Struct erupt_bootstrap::swapchain::SwapchainOptions
source · [−]pub struct SwapchainOptions { /* private fields */ }Expand description
Swapchain configuration
Implementations
Number of frames that may be concurrently worked on, including recording on the CPU. Defaults to 2.
Preference-ordered list of image formats and color spaces. Defaults to 8-bit sRGB.
Preference-ordered list of presentation modes. Defaults to vk::PresentModeKHR::FIFO_KHR.
Required swapchain image usage flags. Defaults to vk::ImageUsageFlags::COLOR_ATTACHMENT.
Requires swapchain image sharing mode. Defaults to vk::SharingMode::EXCLUSIVE.
Requires swapchain image composite alpha. Defaults to vk::CompositeAlphaFlagBitsKHR::OPAQUE_KHR.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SwapchainOptions
impl Send for SwapchainOptions
impl Sync for SwapchainOptions
impl Unpin for SwapchainOptions
impl UnwindSafe for SwapchainOptions
Blanket Implementations
Mutably borrows from an owned value. Read more