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