{-# language CPP #-}
module Vulkan.Core10.Enums.PipelineInputAssemblyStateCreateFlags (PipelineInputAssemblyStateCreateFlags(..)) 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)
newtype PipelineInputAssemblyStateCreateFlags = PipelineInputAssemblyStateCreateFlags Flags
deriving newtype (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> Bool
(PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> Bool)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> Bool)
-> Eq PipelineInputAssemblyStateCreateFlags
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
Eq PipelineInputAssemblyStateCreateFlags =>
(PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> Ordering)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> Bool)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> Bool)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> Bool)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> Bool)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags)
-> Ord 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
$cp1Ord :: Eq PipelineInputAssemblyStateCreateFlags
Ord, Ptr b -> Int -> IO PipelineInputAssemblyStateCreateFlags
Ptr b -> Int -> PipelineInputAssemblyStateCreateFlags -> IO ()
Ptr PipelineInputAssemblyStateCreateFlags
-> IO PipelineInputAssemblyStateCreateFlags
Ptr PipelineInputAssemblyStateCreateFlags
-> Int -> IO PipelineInputAssemblyStateCreateFlags
Ptr PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags -> IO ()
Ptr PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> IO ()
PipelineInputAssemblyStateCreateFlags -> Int
(PipelineInputAssemblyStateCreateFlags -> Int)
-> (PipelineInputAssemblyStateCreateFlags -> Int)
-> (Ptr PipelineInputAssemblyStateCreateFlags
-> Int -> IO PipelineInputAssemblyStateCreateFlags)
-> (Ptr PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags -> IO ())
-> (forall b.
Ptr b -> Int -> IO PipelineInputAssemblyStateCreateFlags)
-> (forall b.
Ptr b -> Int -> PipelineInputAssemblyStateCreateFlags -> IO ())
-> (Ptr PipelineInputAssemblyStateCreateFlags
-> IO PipelineInputAssemblyStateCreateFlags)
-> (Ptr PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags -> IO ())
-> Storable PipelineInputAssemblyStateCreateFlags
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 :: Ptr b -> Int -> PipelineInputAssemblyStateCreateFlags -> IO ()
$cpokeByteOff :: forall b.
Ptr b -> Int -> PipelineInputAssemblyStateCreateFlags -> IO ()
peekByteOff :: 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
PipelineInputAssemblyStateCreateFlags
-> Zero PipelineInputAssemblyStateCreateFlags
forall a. a -> Zero a
zero :: PipelineInputAssemblyStateCreateFlags
$czero :: PipelineInputAssemblyStateCreateFlags
Zero, Eq PipelineInputAssemblyStateCreateFlags
PipelineInputAssemblyStateCreateFlags
Eq PipelineInputAssemblyStateCreateFlags =>
(PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> PipelineInputAssemblyStateCreateFlags
-> (Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags -> Int -> Bool)
-> (PipelineInputAssemblyStateCreateFlags -> Maybe Int)
-> (PipelineInputAssemblyStateCreateFlags -> Int)
-> (PipelineInputAssemblyStateCreateFlags -> Bool)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags
-> Int -> PipelineInputAssemblyStateCreateFlags)
-> (PipelineInputAssemblyStateCreateFlags -> Int)
-> Bits 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
$cp1Bits :: Eq PipelineInputAssemblyStateCreateFlags
Bits, Bits PipelineInputAssemblyStateCreateFlags
Bits PipelineInputAssemblyStateCreateFlags =>
(PipelineInputAssemblyStateCreateFlags -> Int)
-> (PipelineInputAssemblyStateCreateFlags -> Int)
-> (PipelineInputAssemblyStateCreateFlags -> Int)
-> FiniteBits 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
$cp1FiniteBits :: Bits PipelineInputAssemblyStateCreateFlags
FiniteBits)
conNamePipelineInputAssemblyStateCreateFlags :: String
conNamePipelineInputAssemblyStateCreateFlags :: String
conNamePipelineInputAssemblyStateCreateFlags = "PipelineInputAssemblyStateCreateFlags"
enumPrefixPipelineInputAssemblyStateCreateFlags :: String
enumPrefixPipelineInputAssemblyStateCreateFlags :: String
enumPrefixPipelineInputAssemblyStateCreateFlags = ""
showTablePipelineInputAssemblyStateCreateFlags :: [(PipelineInputAssemblyStateCreateFlags, String)]
showTablePipelineInputAssemblyStateCreateFlags :: [(PipelineInputAssemblyStateCreateFlags, String)]
showTablePipelineInputAssemblyStateCreateFlags = []
instance Show PipelineInputAssemblyStateCreateFlags where
showsPrec :: Int -> PipelineInputAssemblyStateCreateFlags -> ShowS
showsPrec = String
-> [(PipelineInputAssemblyStateCreateFlags, String)]
-> String
-> (PipelineInputAssemblyStateCreateFlags -> Flags)
-> (Flags -> ShowS)
-> Int
-> PipelineInputAssemblyStateCreateFlags
-> ShowS
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 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 PipelineInputAssemblyStateCreateFlags where
readPrec :: ReadPrec PipelineInputAssemblyStateCreateFlags
readPrec = String
-> [(PipelineInputAssemblyStateCreateFlags, String)]
-> String
-> (Flags -> PipelineInputAssemblyStateCreateFlags)
-> ReadPrec PipelineInputAssemblyStateCreateFlags
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec String
enumPrefixPipelineInputAssemblyStateCreateFlags
[(PipelineInputAssemblyStateCreateFlags, String)]
showTablePipelineInputAssemblyStateCreateFlags
String
conNamePipelineInputAssemblyStateCreateFlags
Flags -> PipelineInputAssemblyStateCreateFlags
PipelineInputAssemblyStateCreateFlags