{-# language CPP #-}
-- No documentation found for Chapter "PipelineTessellationStateCreateFlags"
module Vulkan.Core10.Enums.PipelineTessellationStateCreateFlags  (PipelineTessellationStateCreateFlags(..)) where

import Vulkan.Internal.Utils (enumReadPrec)
import Vulkan.Internal.Utils (enumShowsPrec)
import GHC.Show (showString)
import Numeric (showHex)
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)
import Vulkan.Zero (Zero)
-- | VkPipelineTessellationStateCreateFlags - Reserved for future use
--
-- = Description
--
-- 'PipelineTessellationStateCreateFlags' is a bitmask type for setting a
-- mask, but is currently reserved for future use.
--
-- = See Also
--
-- 'Vulkan.Core10.Pipeline.PipelineTessellationStateCreateInfo'
newtype PipelineTessellationStateCreateFlags = PipelineTessellationStateCreateFlags Flags
  deriving newtype (PipelineTessellationStateCreateFlags
-> PipelineTessellationStateCreateFlags -> Bool
(PipelineTessellationStateCreateFlags
 -> PipelineTessellationStateCreateFlags -> Bool)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags -> Bool)
-> Eq PipelineTessellationStateCreateFlags
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
Eq PipelineTessellationStateCreateFlags =>
(PipelineTessellationStateCreateFlags
 -> PipelineTessellationStateCreateFlags -> Ordering)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags -> Bool)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags -> Bool)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags -> Bool)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags -> Bool)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags)
-> Ord 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
$cp1Ord :: Eq PipelineTessellationStateCreateFlags
Ord, Ptr b -> Int -> IO PipelineTessellationStateCreateFlags
Ptr b -> Int -> PipelineTessellationStateCreateFlags -> IO ()
Ptr PipelineTessellationStateCreateFlags
-> IO PipelineTessellationStateCreateFlags
Ptr PipelineTessellationStateCreateFlags
-> Int -> IO PipelineTessellationStateCreateFlags
Ptr PipelineTessellationStateCreateFlags
-> Int -> PipelineTessellationStateCreateFlags -> IO ()
Ptr PipelineTessellationStateCreateFlags
-> PipelineTessellationStateCreateFlags -> IO ()
PipelineTessellationStateCreateFlags -> Int
(PipelineTessellationStateCreateFlags -> Int)
-> (PipelineTessellationStateCreateFlags -> Int)
-> (Ptr PipelineTessellationStateCreateFlags
    -> Int -> IO PipelineTessellationStateCreateFlags)
-> (Ptr PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags -> IO ())
-> (forall b.
    Ptr b -> Int -> IO PipelineTessellationStateCreateFlags)
-> (forall b.
    Ptr b -> Int -> PipelineTessellationStateCreateFlags -> IO ())
-> (Ptr PipelineTessellationStateCreateFlags
    -> IO PipelineTessellationStateCreateFlags)
-> (Ptr PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags -> IO ())
-> Storable PipelineTessellationStateCreateFlags
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 :: Ptr b -> Int -> PipelineTessellationStateCreateFlags -> IO ()
$cpokeByteOff :: forall b.
Ptr b -> Int -> PipelineTessellationStateCreateFlags -> IO ()
peekByteOff :: 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
PipelineTessellationStateCreateFlags
-> Zero PipelineTessellationStateCreateFlags
forall a. a -> Zero a
zero :: PipelineTessellationStateCreateFlags
$czero :: PipelineTessellationStateCreateFlags
Zero, Eq PipelineTessellationStateCreateFlags
PipelineTessellationStateCreateFlags
Eq PipelineTessellationStateCreateFlags =>
(PipelineTessellationStateCreateFlags
 -> PipelineTessellationStateCreateFlags
 -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> PipelineTessellationStateCreateFlags
-> (Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags -> Int -> Bool)
-> (PipelineTessellationStateCreateFlags -> Maybe Int)
-> (PipelineTessellationStateCreateFlags -> Int)
-> (PipelineTessellationStateCreateFlags -> Bool)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags
    -> Int -> PipelineTessellationStateCreateFlags)
-> (PipelineTessellationStateCreateFlags -> Int)
-> Bits 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
$cp1Bits :: Eq PipelineTessellationStateCreateFlags
Bits, Bits PipelineTessellationStateCreateFlags
Bits PipelineTessellationStateCreateFlags =>
(PipelineTessellationStateCreateFlags -> Int)
-> (PipelineTessellationStateCreateFlags -> Int)
-> (PipelineTessellationStateCreateFlags -> Int)
-> FiniteBits 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
$cp1FiniteBits :: Bits PipelineTessellationStateCreateFlags
FiniteBits)



conNamePipelineTessellationStateCreateFlags :: String
conNamePipelineTessellationStateCreateFlags :: String
conNamePipelineTessellationStateCreateFlags = "PipelineTessellationStateCreateFlags"

enumPrefixPipelineTessellationStateCreateFlags :: String
enumPrefixPipelineTessellationStateCreateFlags :: String
enumPrefixPipelineTessellationStateCreateFlags = ""

showTablePipelineTessellationStateCreateFlags :: [(PipelineTessellationStateCreateFlags, String)]
showTablePipelineTessellationStateCreateFlags :: [(PipelineTessellationStateCreateFlags, String)]
showTablePipelineTessellationStateCreateFlags = []

instance Show PipelineTessellationStateCreateFlags where
  showsPrec :: Int -> PipelineTessellationStateCreateFlags -> ShowS
showsPrec = String
-> [(PipelineTessellationStateCreateFlags, String)]
-> String
-> (PipelineTessellationStateCreateFlags -> Flags)
-> (Flags -> ShowS)
-> Int
-> PipelineTessellationStateCreateFlags
-> ShowS
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 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 PipelineTessellationStateCreateFlags where
  readPrec :: ReadPrec PipelineTessellationStateCreateFlags
readPrec = String
-> [(PipelineTessellationStateCreateFlags, String)]
-> String
-> (Flags -> PipelineTessellationStateCreateFlags)
-> ReadPrec PipelineTessellationStateCreateFlags
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec String
enumPrefixPipelineTessellationStateCreateFlags
                          [(PipelineTessellationStateCreateFlags, String)]
showTablePipelineTessellationStateCreateFlags
                          String
conNamePipelineTessellationStateCreateFlags
                          Flags -> PipelineTessellationStateCreateFlags
PipelineTessellationStateCreateFlags