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