{-# language CPP #-}
module Vulkan.Core10.Enums.DescriptorPoolResetFlags (DescriptorPoolResetFlags(..)) where
import Data.Bits (Bits)
import Data.Bits (FiniteBits)
import Vulkan.Internal.Utils (enumReadPrec)
import Vulkan.Internal.Utils (enumShowsPrec)
import GHC.Show (showString)
import Numeric (showHex)
import Vulkan.Zero (Zero)
import Foreign.Storable (Storable)
import GHC.Read (Read(readPrec))
import GHC.Show (Show(showsPrec))
import Vulkan.Core10.FundamentalTypes (Flags)
newtype DescriptorPoolResetFlags = DescriptorPoolResetFlags Flags
deriving newtype (DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
$c/= :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
== :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
$c== :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
Eq, Eq DescriptorPoolResetFlags
DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Ordering
DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
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 :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
$cmin :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
max :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
$cmax :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
>= :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
$c>= :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
> :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
$c> :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
<= :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
$c<= :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
< :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
$c< :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Bool
compare :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Ordering
$ccompare :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> Ordering
Ord, Ptr DescriptorPoolResetFlags -> IO DescriptorPoolResetFlags
Ptr DescriptorPoolResetFlags -> Int -> IO DescriptorPoolResetFlags
Ptr DescriptorPoolResetFlags
-> Int -> DescriptorPoolResetFlags -> IO ()
Ptr DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> IO ()
DescriptorPoolResetFlags -> Int
forall b. Ptr b -> Int -> IO DescriptorPoolResetFlags
forall b. Ptr b -> Int -> DescriptorPoolResetFlags -> 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 DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> IO ()
$cpoke :: Ptr DescriptorPoolResetFlags -> DescriptorPoolResetFlags -> IO ()
peek :: Ptr DescriptorPoolResetFlags -> IO DescriptorPoolResetFlags
$cpeek :: Ptr DescriptorPoolResetFlags -> IO DescriptorPoolResetFlags
pokeByteOff :: forall b. Ptr b -> Int -> DescriptorPoolResetFlags -> IO ()
$cpokeByteOff :: forall b. Ptr b -> Int -> DescriptorPoolResetFlags -> IO ()
peekByteOff :: forall b. Ptr b -> Int -> IO DescriptorPoolResetFlags
$cpeekByteOff :: forall b. Ptr b -> Int -> IO DescriptorPoolResetFlags
pokeElemOff :: Ptr DescriptorPoolResetFlags
-> Int -> DescriptorPoolResetFlags -> IO ()
$cpokeElemOff :: Ptr DescriptorPoolResetFlags
-> Int -> DescriptorPoolResetFlags -> IO ()
peekElemOff :: Ptr DescriptorPoolResetFlags -> Int -> IO DescriptorPoolResetFlags
$cpeekElemOff :: Ptr DescriptorPoolResetFlags -> Int -> IO DescriptorPoolResetFlags
alignment :: DescriptorPoolResetFlags -> Int
$calignment :: DescriptorPoolResetFlags -> Int
sizeOf :: DescriptorPoolResetFlags -> Int
$csizeOf :: DescriptorPoolResetFlags -> Int
Storable, DescriptorPoolResetFlags
forall a. a -> Zero a
zero :: DescriptorPoolResetFlags
$czero :: DescriptorPoolResetFlags
Zero, Eq DescriptorPoolResetFlags
DescriptorPoolResetFlags
Int -> DescriptorPoolResetFlags
DescriptorPoolResetFlags -> Bool
DescriptorPoolResetFlags -> Int
DescriptorPoolResetFlags -> Maybe Int
DescriptorPoolResetFlags -> DescriptorPoolResetFlags
DescriptorPoolResetFlags -> Int -> Bool
DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
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 :: DescriptorPoolResetFlags -> Int
$cpopCount :: DescriptorPoolResetFlags -> Int
rotateR :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$crotateR :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
rotateL :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$crotateL :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
unsafeShiftR :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$cunsafeShiftR :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
shiftR :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$cshiftR :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
unsafeShiftL :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$cunsafeShiftL :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
shiftL :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$cshiftL :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
isSigned :: DescriptorPoolResetFlags -> Bool
$cisSigned :: DescriptorPoolResetFlags -> Bool
bitSize :: DescriptorPoolResetFlags -> Int
$cbitSize :: DescriptorPoolResetFlags -> Int
bitSizeMaybe :: DescriptorPoolResetFlags -> Maybe Int
$cbitSizeMaybe :: DescriptorPoolResetFlags -> Maybe Int
testBit :: DescriptorPoolResetFlags -> Int -> Bool
$ctestBit :: DescriptorPoolResetFlags -> Int -> Bool
complementBit :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$ccomplementBit :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
clearBit :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$cclearBit :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
setBit :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$csetBit :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
bit :: Int -> DescriptorPoolResetFlags
$cbit :: Int -> DescriptorPoolResetFlags
zeroBits :: DescriptorPoolResetFlags
$czeroBits :: DescriptorPoolResetFlags
rotate :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$crotate :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
shift :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
$cshift :: DescriptorPoolResetFlags -> Int -> DescriptorPoolResetFlags
complement :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags
$ccomplement :: DescriptorPoolResetFlags -> DescriptorPoolResetFlags
xor :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
$cxor :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
.|. :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
$c.|. :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
.&. :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
$c.&. :: DescriptorPoolResetFlags
-> DescriptorPoolResetFlags -> DescriptorPoolResetFlags
Bits, Bits DescriptorPoolResetFlags
DescriptorPoolResetFlags -> Int
forall b.
Bits b -> (b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
countTrailingZeros :: DescriptorPoolResetFlags -> Int
$ccountTrailingZeros :: DescriptorPoolResetFlags -> Int
countLeadingZeros :: DescriptorPoolResetFlags -> Int
$ccountLeadingZeros :: DescriptorPoolResetFlags -> Int
finiteBitSize :: DescriptorPoolResetFlags -> Int
$cfiniteBitSize :: DescriptorPoolResetFlags -> Int
FiniteBits)
conNameDescriptorPoolResetFlags :: String
conNameDescriptorPoolResetFlags :: String
conNameDescriptorPoolResetFlags = String
"DescriptorPoolResetFlags"
enumPrefixDescriptorPoolResetFlags :: String
enumPrefixDescriptorPoolResetFlags :: String
enumPrefixDescriptorPoolResetFlags = String
""
showTableDescriptorPoolResetFlags :: [(DescriptorPoolResetFlags, String)]
showTableDescriptorPoolResetFlags :: [(DescriptorPoolResetFlags, String)]
showTableDescriptorPoolResetFlags = []
instance Show DescriptorPoolResetFlags where
showsPrec :: Int -> DescriptorPoolResetFlags -> ShowS
showsPrec =
forall a i.
Eq a =>
String
-> [(a, String)]
-> String
-> (a -> i)
-> (i -> ShowS)
-> Int
-> a
-> ShowS
enumShowsPrec
String
enumPrefixDescriptorPoolResetFlags
[(DescriptorPoolResetFlags, String)]
showTableDescriptorPoolResetFlags
String
conNameDescriptorPoolResetFlags
(\(DescriptorPoolResetFlags Flags
x) -> Flags
x)
(\Flags
x -> String -> ShowS
showString String
"0x" forall b c a. (b -> c) -> (a -> b) -> a -> c
. forall a. (Integral a, Show a) => a -> ShowS
showHex Flags
x)
instance Read DescriptorPoolResetFlags where
readPrec :: ReadPrec DescriptorPoolResetFlags
readPrec =
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec
String
enumPrefixDescriptorPoolResetFlags
[(DescriptorPoolResetFlags, String)]
showTableDescriptorPoolResetFlags
String
conNameDescriptorPoolResetFlags
Flags -> DescriptorPoolResetFlags
DescriptorPoolResetFlags