{-# language CPP #-}
-- No documentation found for Chapter "DescriptorSetLayoutCreateFlagBits"
module Vulkan.Core10.Enums.DescriptorSetLayoutCreateFlagBits  ( DescriptorSetLayoutCreateFlags
                                                              , DescriptorSetLayoutCreateFlagBits( DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVE
                                                                                                 , DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR
                                                                                                 , DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_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 DescriptorSetLayoutCreateFlags = DescriptorSetLayoutCreateFlagBits

-- | VkDescriptorSetLayoutCreateFlagBits - Bitmask specifying descriptor set
-- layout properties
--
-- = See Also
--
-- 'DescriptorSetLayoutCreateFlags'
newtype DescriptorSetLayoutCreateFlagBits = DescriptorSetLayoutCreateFlagBits Flags
  deriving newtype (DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
(DescriptorSetLayoutCreateFlagBits
 -> DescriptorSetLayoutCreateFlagBits -> Bool)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits -> Bool)
-> Eq DescriptorSetLayoutCreateFlagBits
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
$c/= :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
== :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
$c== :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
Eq, Eq DescriptorSetLayoutCreateFlagBits
Eq DescriptorSetLayoutCreateFlagBits =>
(DescriptorSetLayoutCreateFlagBits
 -> DescriptorSetLayoutCreateFlagBits -> Ordering)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits -> Bool)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits -> Bool)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits -> Bool)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits -> Bool)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits)
-> Ord DescriptorSetLayoutCreateFlagBits
DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Ordering
DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
forall a.
Eq a =>
(a -> a -> Ordering)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> Bool)
-> (a -> a -> a)
-> (a -> a -> a)
-> Ord a
min :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
$cmin :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
max :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
$cmax :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
>= :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
$c>= :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
> :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
$c> :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
<= :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
$c<= :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
< :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
$c< :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Bool
compare :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Ordering
$ccompare :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> Ordering
$cp1Ord :: Eq DescriptorSetLayoutCreateFlagBits
Ord, Ptr b -> Int -> IO DescriptorSetLayoutCreateFlagBits
Ptr b -> Int -> DescriptorSetLayoutCreateFlagBits -> IO ()
Ptr DescriptorSetLayoutCreateFlagBits
-> IO DescriptorSetLayoutCreateFlagBits
Ptr DescriptorSetLayoutCreateFlagBits
-> Int -> IO DescriptorSetLayoutCreateFlagBits
Ptr DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits -> IO ()
Ptr DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> IO ()
DescriptorSetLayoutCreateFlagBits -> Int
(DescriptorSetLayoutCreateFlagBits -> Int)
-> (DescriptorSetLayoutCreateFlagBits -> Int)
-> (Ptr DescriptorSetLayoutCreateFlagBits
    -> Int -> IO DescriptorSetLayoutCreateFlagBits)
-> (Ptr DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits -> IO ())
-> (forall b. Ptr b -> Int -> IO DescriptorSetLayoutCreateFlagBits)
-> (forall b.
    Ptr b -> Int -> DescriptorSetLayoutCreateFlagBits -> IO ())
-> (Ptr DescriptorSetLayoutCreateFlagBits
    -> IO DescriptorSetLayoutCreateFlagBits)
-> (Ptr DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits -> IO ())
-> Storable DescriptorSetLayoutCreateFlagBits
forall b. Ptr b -> Int -> IO DescriptorSetLayoutCreateFlagBits
forall b.
Ptr b -> Int -> DescriptorSetLayoutCreateFlagBits -> IO ()
forall a.
(a -> Int)
-> (a -> Int)
-> (Ptr a -> Int -> IO a)
-> (Ptr a -> Int -> a -> IO ())
-> (forall b. Ptr b -> Int -> IO a)
-> (forall b. Ptr b -> Int -> a -> IO ())
-> (Ptr a -> IO a)
-> (Ptr a -> a -> IO ())
-> Storable a
poke :: Ptr DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> IO ()
$cpoke :: Ptr DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits -> IO ()
peek :: Ptr DescriptorSetLayoutCreateFlagBits
-> IO DescriptorSetLayoutCreateFlagBits
$cpeek :: Ptr DescriptorSetLayoutCreateFlagBits
-> IO DescriptorSetLayoutCreateFlagBits
pokeByteOff :: Ptr b -> Int -> DescriptorSetLayoutCreateFlagBits -> IO ()
$cpokeByteOff :: forall b.
Ptr b -> Int -> DescriptorSetLayoutCreateFlagBits -> IO ()
peekByteOff :: Ptr b -> Int -> IO DescriptorSetLayoutCreateFlagBits
$cpeekByteOff :: forall b. Ptr b -> Int -> IO DescriptorSetLayoutCreateFlagBits
pokeElemOff :: Ptr DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits -> IO ()
$cpokeElemOff :: Ptr DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits -> IO ()
peekElemOff :: Ptr DescriptorSetLayoutCreateFlagBits
-> Int -> IO DescriptorSetLayoutCreateFlagBits
$cpeekElemOff :: Ptr DescriptorSetLayoutCreateFlagBits
-> Int -> IO DescriptorSetLayoutCreateFlagBits
alignment :: DescriptorSetLayoutCreateFlagBits -> Int
$calignment :: DescriptorSetLayoutCreateFlagBits -> Int
sizeOf :: DescriptorSetLayoutCreateFlagBits -> Int
$csizeOf :: DescriptorSetLayoutCreateFlagBits -> Int
Storable, DescriptorSetLayoutCreateFlagBits
DescriptorSetLayoutCreateFlagBits
-> Zero DescriptorSetLayoutCreateFlagBits
forall a. a -> Zero a
zero :: DescriptorSetLayoutCreateFlagBits
$czero :: DescriptorSetLayoutCreateFlagBits
Zero, Eq DescriptorSetLayoutCreateFlagBits
DescriptorSetLayoutCreateFlagBits
Eq DescriptorSetLayoutCreateFlagBits =>
(DescriptorSetLayoutCreateFlagBits
 -> DescriptorSetLayoutCreateFlagBits
 -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> DescriptorSetLayoutCreateFlagBits
-> (Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits -> Int -> Bool)
-> (DescriptorSetLayoutCreateFlagBits -> Maybe Int)
-> (DescriptorSetLayoutCreateFlagBits -> Int)
-> (DescriptorSetLayoutCreateFlagBits -> Bool)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits
    -> Int -> DescriptorSetLayoutCreateFlagBits)
-> (DescriptorSetLayoutCreateFlagBits -> Int)
-> Bits DescriptorSetLayoutCreateFlagBits
Int -> DescriptorSetLayoutCreateFlagBits
DescriptorSetLayoutCreateFlagBits -> Bool
DescriptorSetLayoutCreateFlagBits -> Int
DescriptorSetLayoutCreateFlagBits -> Maybe Int
DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
DescriptorSetLayoutCreateFlagBits -> Int -> Bool
DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
forall a.
Eq a =>
(a -> a -> a)
-> (a -> a -> a)
-> (a -> a -> a)
-> (a -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> a
-> (Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> Bool)
-> (a -> Maybe Int)
-> (a -> Int)
-> (a -> Bool)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int -> a)
-> (a -> Int)
-> Bits a
popCount :: DescriptorSetLayoutCreateFlagBits -> Int
$cpopCount :: DescriptorSetLayoutCreateFlagBits -> Int
rotateR :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$crotateR :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
rotateL :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$crotateL :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
unsafeShiftR :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$cunsafeShiftR :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
shiftR :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$cshiftR :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
unsafeShiftL :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$cunsafeShiftL :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
shiftL :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$cshiftL :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
isSigned :: DescriptorSetLayoutCreateFlagBits -> Bool
$cisSigned :: DescriptorSetLayoutCreateFlagBits -> Bool
bitSize :: DescriptorSetLayoutCreateFlagBits -> Int
$cbitSize :: DescriptorSetLayoutCreateFlagBits -> Int
bitSizeMaybe :: DescriptorSetLayoutCreateFlagBits -> Maybe Int
$cbitSizeMaybe :: DescriptorSetLayoutCreateFlagBits -> Maybe Int
testBit :: DescriptorSetLayoutCreateFlagBits -> Int -> Bool
$ctestBit :: DescriptorSetLayoutCreateFlagBits -> Int -> Bool
complementBit :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$ccomplementBit :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
clearBit :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$cclearBit :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
setBit :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$csetBit :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
bit :: Int -> DescriptorSetLayoutCreateFlagBits
$cbit :: Int -> DescriptorSetLayoutCreateFlagBits
zeroBits :: DescriptorSetLayoutCreateFlagBits
$czeroBits :: DescriptorSetLayoutCreateFlagBits
rotate :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$crotate :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
shift :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
$cshift :: DescriptorSetLayoutCreateFlagBits
-> Int -> DescriptorSetLayoutCreateFlagBits
complement :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
$ccomplement :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
xor :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
$cxor :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
.|. :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
$c.|. :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
.&. :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
$c.&. :: DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
-> DescriptorSetLayoutCreateFlagBits
$cp1Bits :: Eq DescriptorSetLayoutCreateFlagBits
Bits, Bits DescriptorSetLayoutCreateFlagBits
Bits DescriptorSetLayoutCreateFlagBits =>
(DescriptorSetLayoutCreateFlagBits -> Int)
-> (DescriptorSetLayoutCreateFlagBits -> Int)
-> (DescriptorSetLayoutCreateFlagBits -> Int)
-> FiniteBits DescriptorSetLayoutCreateFlagBits
DescriptorSetLayoutCreateFlagBits -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
countTrailingZeros :: DescriptorSetLayoutCreateFlagBits -> Int
$ccountTrailingZeros :: DescriptorSetLayoutCreateFlagBits -> Int
countLeadingZeros :: DescriptorSetLayoutCreateFlagBits -> Int
$ccountLeadingZeros :: DescriptorSetLayoutCreateFlagBits -> Int
finiteBitSize :: DescriptorSetLayoutCreateFlagBits -> Int
$cfiniteBitSize :: DescriptorSetLayoutCreateFlagBits -> Int
$cp1FiniteBits :: Bits DescriptorSetLayoutCreateFlagBits
FiniteBits)

-- | 'DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVE' specifies that
-- descriptor sets using this layout /must/ be allocated from a descriptor
-- pool created with the
-- 'Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits.DESCRIPTOR_POOL_CREATE_HOST_ONLY_BIT_VALVE'
-- bit set. Descriptor set layouts created with this bit have no
-- expressable limit for maximum number of descriptors per-stage. Host
-- descriptor sets are limited only by available host memory, but /may/ be
-- limited for implementation specific reasons. Implementations /may/ limit
-- the number of supported descriptors to UpdateAfterBind limits or
-- non-UpdateAfterBind limits, whichever is larger.
pattern $bDESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVE :: DescriptorSetLayoutCreateFlagBits
$mDESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVE :: forall r.
DescriptorSetLayoutCreateFlagBits
-> (Void# -> r) -> (Void# -> r) -> r
DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVE   = DescriptorSetLayoutCreateFlagBits 0x00000004
-- | 'DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR' specifies that
-- descriptor sets /must/ not be allocated using this layout, and
-- descriptors are instead pushed by
-- 'Vulkan.Extensions.VK_KHR_push_descriptor.cmdPushDescriptorSetKHR'.
pattern $bDESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR :: DescriptorSetLayoutCreateFlagBits
$mDESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR :: forall r.
DescriptorSetLayoutCreateFlagBits
-> (Void# -> r) -> (Void# -> r) -> r
DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR    = DescriptorSetLayoutCreateFlagBits 0x00000001
-- | 'DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT' specifies that
-- descriptor sets using this layout /must/ be allocated from a descriptor
-- pool created with the
-- 'Vulkan.Core10.Enums.DescriptorPoolCreateFlagBits.DESCRIPTOR_POOL_CREATE_UPDATE_AFTER_BIND_BIT'
-- bit set. Descriptor set layouts created with this bit set have alternate
-- limits for the maximum number of descriptors per-stage and per-pipeline
-- layout. The non-UpdateAfterBind limits only count descriptors in sets
-- created without this flag. The UpdateAfterBind limits count all
-- descriptors, but the limits /may/ be higher than the non-UpdateAfterBind
-- limits.
pattern $bDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT :: DescriptorSetLayoutCreateFlagBits
$mDESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT :: forall r.
DescriptorSetLayoutCreateFlagBits
-> (Void# -> r) -> (Void# -> r) -> r
DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT = DescriptorSetLayoutCreateFlagBits 0x00000002

conNameDescriptorSetLayoutCreateFlagBits :: String
conNameDescriptorSetLayoutCreateFlagBits :: String
conNameDescriptorSetLayoutCreateFlagBits = "DescriptorSetLayoutCreateFlagBits"

enumPrefixDescriptorSetLayoutCreateFlagBits :: String
enumPrefixDescriptorSetLayoutCreateFlagBits :: String
enumPrefixDescriptorSetLayoutCreateFlagBits = "DESCRIPTOR_SET_LAYOUT_CREATE_"

showTableDescriptorSetLayoutCreateFlagBits :: [(DescriptorSetLayoutCreateFlagBits, String)]
showTableDescriptorSetLayoutCreateFlagBits :: [(DescriptorSetLayoutCreateFlagBits, String)]
showTableDescriptorSetLayoutCreateFlagBits =
  [ (DescriptorSetLayoutCreateFlagBits
DESCRIPTOR_SET_LAYOUT_CREATE_HOST_ONLY_POOL_BIT_VALVE  , "HOST_ONLY_POOL_BIT_VALVE")
  , (DescriptorSetLayoutCreateFlagBits
DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR   , "PUSH_DESCRIPTOR_BIT_KHR")
  , (DescriptorSetLayoutCreateFlagBits
DESCRIPTOR_SET_LAYOUT_CREATE_UPDATE_AFTER_BIND_POOL_BIT, "UPDATE_AFTER_BIND_POOL_BIT")
  ]

instance Show DescriptorSetLayoutCreateFlagBits where
  showsPrec :: Int -> DescriptorSetLayoutCreateFlagBits -> ShowS
showsPrec = String
-> [(DescriptorSetLayoutCreateFlagBits, String)]
-> String
-> (DescriptorSetLayoutCreateFlagBits -> Flags)
-> (Flags -> ShowS)
-> Int
-> DescriptorSetLayoutCreateFlagBits
-> ShowS
forall a i.
Eq a =>
String
-> [(a, String)]
-> String
-> (a -> i)
-> (i -> ShowS)
-> Int
-> a
-> ShowS
enumShowsPrec String
enumPrefixDescriptorSetLayoutCreateFlagBits
                            [(DescriptorSetLayoutCreateFlagBits, String)]
showTableDescriptorSetLayoutCreateFlagBits
                            String
conNameDescriptorSetLayoutCreateFlagBits
                            (\(DescriptorSetLayoutCreateFlagBits x :: Flags
x) -> Flags
x)
                            (\x :: Flags
x -> String -> ShowS
showString "0x" ShowS -> ShowS -> ShowS
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Flags -> ShowS
forall a. (Integral a, Show a) => a -> ShowS
showHex Flags
x)

instance Read DescriptorSetLayoutCreateFlagBits where
  readPrec :: ReadPrec DescriptorSetLayoutCreateFlagBits
readPrec = String
-> [(DescriptorSetLayoutCreateFlagBits, String)]
-> String
-> (Flags -> DescriptorSetLayoutCreateFlagBits)
-> ReadPrec DescriptorSetLayoutCreateFlagBits
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec String
enumPrefixDescriptorSetLayoutCreateFlagBits
                          [(DescriptorSetLayoutCreateFlagBits, String)]
showTableDescriptorSetLayoutCreateFlagBits
                          String
conNameDescriptorSetLayoutCreateFlagBits
                          Flags -> DescriptorSetLayoutCreateFlagBits
DescriptorSetLayoutCreateFlagBits