{-# language CPP #-} -- No documentation found for Chapter "EventCreateFlagBits" module Vulkan.Core10.Enums.EventCreateFlagBits ( EventCreateFlags , EventCreateFlagBits( EVENT_CREATE_DEVICE_ONLY_BIT , .. ) ) where import Vulkan.Internal.Utils (enumReadPrec) import Vulkan.Internal.Utils (enumShowsPrec) import GHC.Show (showString) import Numeric (showHex) import Vulkan.Zero (Zero) import Data.Bits (Bits) import Data.Bits (FiniteBits) import Foreign.Storable (Storable) import GHC.Read (Read(readPrec)) import GHC.Show (Show(showsPrec)) import Vulkan.Core10.FundamentalTypes (Flags) type EventCreateFlags = EventCreateFlagBits -- | VkEventCreateFlagBits - Event creation flag bits -- -- = See Also -- -- , -- 'EventCreateFlags' newtype EventCreateFlagBits = EventCreateFlagBits Flags deriving newtype (Eq, Ord, Storable, Zero, Bits, FiniteBits) -- | 'EVENT_CREATE_DEVICE_ONLY_BIT' specifies that host event commands will -- not be used with this event. pattern EVENT_CREATE_DEVICE_ONLY_BIT = EventCreateFlagBits 0x00000001 conNameEventCreateFlagBits :: String conNameEventCreateFlagBits = "EventCreateFlagBits" enumPrefixEventCreateFlagBits :: String enumPrefixEventCreateFlagBits = "EVENT_CREATE_DEVICE_ONLY_BIT" showTableEventCreateFlagBits :: [(EventCreateFlagBits, String)] showTableEventCreateFlagBits = [(EVENT_CREATE_DEVICE_ONLY_BIT, "")] instance Show EventCreateFlagBits where showsPrec = enumShowsPrec enumPrefixEventCreateFlagBits showTableEventCreateFlagBits conNameEventCreateFlagBits (\(EventCreateFlagBits x) -> x) (\x -> showString "0x" . showHex x) instance Read EventCreateFlagBits where readPrec = enumReadPrec enumPrefixEventCreateFlagBits showTableEventCreateFlagBits conNameEventCreateFlagBits EventCreateFlagBits