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