{-# language CPP #-}
-- No documentation found for Chapter "PipelineRasterizationStateCreateFlags"
module Vulkan.Core10.Enums.PipelineRasterizationStateCreateFlags  (PipelineRasterizationStateCreateFlags(..)) 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)
-- | VkPipelineRasterizationStateCreateFlags - Reserved for future use
--
-- = Description
--
-- 'PipelineRasterizationStateCreateFlags' is a bitmask type for setting a
-- mask, but is currently reserved for future use.
--
-- = See Also
--
-- 'Vulkan.Core10.Pipeline.PipelineRasterizationStateCreateInfo'
newtype PipelineRasterizationStateCreateFlags = PipelineRasterizationStateCreateFlags Flags
  deriving newtype (PipelineRasterizationStateCreateFlags
-> PipelineRasterizationStateCreateFlags -> Bool
(PipelineRasterizationStateCreateFlags
 -> PipelineRasterizationStateCreateFlags -> Bool)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags -> Bool)
-> Eq PipelineRasterizationStateCreateFlags
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
Eq PipelineRasterizationStateCreateFlags =>
(PipelineRasterizationStateCreateFlags
 -> PipelineRasterizationStateCreateFlags -> Ordering)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags -> Bool)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags -> Bool)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags -> Bool)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags -> Bool)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags)
-> Ord 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
$cp1Ord :: Eq PipelineRasterizationStateCreateFlags
Ord, Ptr b -> Int -> IO PipelineRasterizationStateCreateFlags
Ptr b -> Int -> PipelineRasterizationStateCreateFlags -> IO ()
Ptr PipelineRasterizationStateCreateFlags
-> IO PipelineRasterizationStateCreateFlags
Ptr PipelineRasterizationStateCreateFlags
-> Int -> IO PipelineRasterizationStateCreateFlags
Ptr PipelineRasterizationStateCreateFlags
-> Int -> PipelineRasterizationStateCreateFlags -> IO ()
Ptr PipelineRasterizationStateCreateFlags
-> PipelineRasterizationStateCreateFlags -> IO ()
PipelineRasterizationStateCreateFlags -> Int
(PipelineRasterizationStateCreateFlags -> Int)
-> (PipelineRasterizationStateCreateFlags -> Int)
-> (Ptr PipelineRasterizationStateCreateFlags
    -> Int -> IO PipelineRasterizationStateCreateFlags)
-> (Ptr PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags -> IO ())
-> (forall b.
    Ptr b -> Int -> IO PipelineRasterizationStateCreateFlags)
-> (forall b.
    Ptr b -> Int -> PipelineRasterizationStateCreateFlags -> IO ())
-> (Ptr PipelineRasterizationStateCreateFlags
    -> IO PipelineRasterizationStateCreateFlags)
-> (Ptr PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags -> IO ())
-> Storable PipelineRasterizationStateCreateFlags
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 :: Ptr b -> Int -> PipelineRasterizationStateCreateFlags -> IO ()
$cpokeByteOff :: forall b.
Ptr b -> Int -> PipelineRasterizationStateCreateFlags -> IO ()
peekByteOff :: 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
PipelineRasterizationStateCreateFlags
-> Zero PipelineRasterizationStateCreateFlags
forall a. a -> Zero a
zero :: PipelineRasterizationStateCreateFlags
$czero :: PipelineRasterizationStateCreateFlags
Zero, Eq PipelineRasterizationStateCreateFlags
PipelineRasterizationStateCreateFlags
Eq PipelineRasterizationStateCreateFlags =>
(PipelineRasterizationStateCreateFlags
 -> PipelineRasterizationStateCreateFlags
 -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> PipelineRasterizationStateCreateFlags
-> (Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags -> Int -> Bool)
-> (PipelineRasterizationStateCreateFlags -> Maybe Int)
-> (PipelineRasterizationStateCreateFlags -> Int)
-> (PipelineRasterizationStateCreateFlags -> Bool)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags
    -> Int -> PipelineRasterizationStateCreateFlags)
-> (PipelineRasterizationStateCreateFlags -> Int)
-> Bits 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
$cp1Bits :: Eq PipelineRasterizationStateCreateFlags
Bits, Bits PipelineRasterizationStateCreateFlags
Bits PipelineRasterizationStateCreateFlags =>
(PipelineRasterizationStateCreateFlags -> Int)
-> (PipelineRasterizationStateCreateFlags -> Int)
-> (PipelineRasterizationStateCreateFlags -> Int)
-> FiniteBits 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
$cp1FiniteBits :: Bits PipelineRasterizationStateCreateFlags
FiniteBits)



conNamePipelineRasterizationStateCreateFlags :: String
conNamePipelineRasterizationStateCreateFlags :: String
conNamePipelineRasterizationStateCreateFlags = "PipelineRasterizationStateCreateFlags"

enumPrefixPipelineRasterizationStateCreateFlags :: String
enumPrefixPipelineRasterizationStateCreateFlags :: String
enumPrefixPipelineRasterizationStateCreateFlags = ""

showTablePipelineRasterizationStateCreateFlags :: [(PipelineRasterizationStateCreateFlags, String)]
showTablePipelineRasterizationStateCreateFlags :: [(PipelineRasterizationStateCreateFlags, String)]
showTablePipelineRasterizationStateCreateFlags = []

instance Show PipelineRasterizationStateCreateFlags where
  showsPrec :: Int -> PipelineRasterizationStateCreateFlags -> ShowS
showsPrec = String
-> [(PipelineRasterizationStateCreateFlags, String)]
-> String
-> (PipelineRasterizationStateCreateFlags -> Flags)
-> (Flags -> ShowS)
-> Int
-> PipelineRasterizationStateCreateFlags
-> ShowS
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 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 PipelineRasterizationStateCreateFlags where
  readPrec :: ReadPrec PipelineRasterizationStateCreateFlags
readPrec = String
-> [(PipelineRasterizationStateCreateFlags, String)]
-> String
-> (Flags -> PipelineRasterizationStateCreateFlags)
-> ReadPrec PipelineRasterizationStateCreateFlags
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec String
enumPrefixPipelineRasterizationStateCreateFlags
                          [(PipelineRasterizationStateCreateFlags, String)]
showTablePipelineRasterizationStateCreateFlags
                          String
conNamePipelineRasterizationStateCreateFlags
                          Flags -> PipelineRasterizationStateCreateFlags
PipelineRasterizationStateCreateFlags