vulkan_lib/vulkan-sys/src/enums/displaymodecreateflagskhr.rs

16 lines
564 B
Rust
Raw Normal View History

2023-01-14 12:03:01 +00:00
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);