vulkan_lib/vulkan-sys/src/enums/displaymodecreateflagskhr.rs
2023-01-14 13:03:01 +01:00

15 lines
564 B
Rust

pub use VkDisplayModeCreateFlagsKHR::*;
#[repr(u32)]
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum VkDisplayModeCreateFlagsKHR {
VK_DISPLAY_PLANE_ALPHA_OPAQUE_BIT_KHR = 0x00000001,
VK_DISPLAY_PLANE_ALPHA_GLOBAL_BIT_KHR = 0x00000002,
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_BIT_KHR = 0x00000004,
VK_DISPLAY_PLANE_ALPHA_PER_PIXEL_PREMULTIPLIED_BIT_KHR = 0x00000008,
}
#[repr(C)]
#[derive(Clone, Copy, Eq, PartialEq, Hash)]
pub struct VkDisplayModeCreateFlagBitsKHR(u32);
SetupVkFlags!(VkDisplayModeCreateFlagsKHR, VkDisplayModeCreateFlagBitsKHR);