#[repr(C)]pub enum VkPresentModeKHR {
VK_PRESENT_MODE_IMMEDIATE_KHR = 0,
VK_PRESENT_MODE_MAILBOX_KHR = 1,
VK_PRESENT_MODE_FIFO_KHR = 2,
VK_PRESENT_MODE_FIFO_RELAXED_KHR = 3,
VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR = 1_000_111_000,
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR = 1_000_111_001,
VK_PRESENT_MODE_FIFO_LATEST_READY_KHR = 1_000_361_000,
VK_PRESENT_MODE_MAX_ENUM_KHR = 2_147_483_647,
}Expand description
enum VkPresentModeKHR from VK_KHR_surface
Variants§
VK_PRESENT_MODE_IMMEDIATE_KHR = 0
VK_PRESENT_MODE_MAILBOX_KHR = 1
VK_PRESENT_MODE_FIFO_KHR = 2
VK_PRESENT_MODE_FIFO_RELAXED_KHR = 3
VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR = 1_000_111_000
VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR = 1_000_111_001
VK_PRESENT_MODE_FIFO_LATEST_READY_KHR = 1_000_361_000
VK_PRESENT_MODE_MAX_ENUM_KHR = 2_147_483_647
Implementations§
Source§impl VkPresentModeKHR
impl VkPresentModeKHR
pub const VK_PRESENT_MODE_FIFO_LATEST_READY_EXT: VkPresentModeKHR = VkPresentModeKHR::VK_PRESENT_MODE_FIFO_LATEST_READY_KHR
Trait Implementations§
Source§impl Clone for VkPresentModeKHR
impl Clone for VkPresentModeKHR
Source§fn clone(&self) -> VkPresentModeKHR
fn clone(&self) -> VkPresentModeKHR
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VkPresentModeKHR
impl Debug for VkPresentModeKHR
Source§impl PartialEq for VkPresentModeKHR
impl PartialEq for VkPresentModeKHR
impl Copy for VkPresentModeKHR
impl StructuralPartialEq for VkPresentModeKHR
Auto Trait Implementations§
impl Freeze for VkPresentModeKHR
impl RefUnwindSafe for VkPresentModeKHR
impl Send for VkPresentModeKHR
impl Sync for VkPresentModeKHR
impl Unpin for VkPresentModeKHR
impl UnwindSafe for VkPresentModeKHR
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more