{-# language CPP #-} -- No documentation found for Chapter "PipelineCacheCreateFlagBits" module Vulkan.Core10.Enums.PipelineCacheCreateFlagBits ( PipelineCacheCreateFlags , PipelineCacheCreateFlagBits( PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT , .. ) ) 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 PipelineCacheCreateFlags = PipelineCacheCreateFlagBits -- | VkPipelineCacheCreateFlagBits - Bitmask specifying the behavior of the -- pipeline cache -- -- = See Also -- -- , -- 'PipelineCacheCreateFlags' newtype PipelineCacheCreateFlagBits = PipelineCacheCreateFlagBits Flags deriving newtype (Eq, Ord, Storable, Zero, Bits, FiniteBits) -- | 'PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT' specifies that -- all commands that modify the created -- 'Vulkan.Core10.Handles.PipelineCache' will be -- . -- When set, the implementation /may/ skip any unnecessary processing -- needed to support simultaneous modification from multiple threads where -- allowed. pattern PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT = PipelineCacheCreateFlagBits 0x00000001 conNamePipelineCacheCreateFlagBits :: String conNamePipelineCacheCreateFlagBits = "PipelineCacheCreateFlagBits" enumPrefixPipelineCacheCreateFlagBits :: String enumPrefixPipelineCacheCreateFlagBits = "PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT" showTablePipelineCacheCreateFlagBits :: [(PipelineCacheCreateFlagBits, String)] showTablePipelineCacheCreateFlagBits = [(PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT_EXT, "")] instance Show PipelineCacheCreateFlagBits where showsPrec = enumShowsPrec enumPrefixPipelineCacheCreateFlagBits showTablePipelineCacheCreateFlagBits conNamePipelineCacheCreateFlagBits (\(PipelineCacheCreateFlagBits x) -> x) (\x -> showString "0x" . showHex x) instance Read PipelineCacheCreateFlagBits where readPrec = enumReadPrec enumPrefixPipelineCacheCreateFlagBits showTablePipelineCacheCreateFlagBits conNamePipelineCacheCreateFlagBits PipelineCacheCreateFlagBits