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