{-# language CPP #-}
-- No documentation found for Chapter "PipelineDepthStencilStateCreateFlags"
module Vulkan.Core10.Enums.PipelineDepthStencilStateCreateFlags  (PipelineDepthStencilStateCreateFlags(..)) 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)
-- | VkPipelineDepthStencilStateCreateFlags - Reserved for future use
--
-- = Description
--
-- 'PipelineDepthStencilStateCreateFlags' is a bitmask type for setting a
-- mask, but is currently reserved for future use.
--
-- = See Also
--
-- 'Vulkan.Core10.Pipeline.PipelineDepthStencilStateCreateInfo'
newtype PipelineDepthStencilStateCreateFlags = PipelineDepthStencilStateCreateFlags Flags
  deriving newtype (PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
(PipelineDepthStencilStateCreateFlags
 -> PipelineDepthStencilStateCreateFlags -> Bool)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags -> Bool)
-> Eq PipelineDepthStencilStateCreateFlags
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
$c/= :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
== :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
$c== :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
Eq, Eq PipelineDepthStencilStateCreateFlags
Eq PipelineDepthStencilStateCreateFlags =>
(PipelineDepthStencilStateCreateFlags
 -> PipelineDepthStencilStateCreateFlags -> Ordering)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags -> Bool)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags -> Bool)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags -> Bool)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags -> Bool)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags)
-> Ord PipelineDepthStencilStateCreateFlags
PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Ordering
PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
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 :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
$cmin :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
max :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
$cmax :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
>= :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
$c>= :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
> :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
$c> :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
<= :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
$c<= :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
< :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
$c< :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Bool
compare :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Ordering
$ccompare :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> Ordering
$cp1Ord :: Eq PipelineDepthStencilStateCreateFlags
Ord, Ptr b -> Int -> IO PipelineDepthStencilStateCreateFlags
Ptr b -> Int -> PipelineDepthStencilStateCreateFlags -> IO ()
Ptr PipelineDepthStencilStateCreateFlags
-> IO PipelineDepthStencilStateCreateFlags
Ptr PipelineDepthStencilStateCreateFlags
-> Int -> IO PipelineDepthStencilStateCreateFlags
Ptr PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags -> IO ()
Ptr PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> IO ()
PipelineDepthStencilStateCreateFlags -> Int
(PipelineDepthStencilStateCreateFlags -> Int)
-> (PipelineDepthStencilStateCreateFlags -> Int)
-> (Ptr PipelineDepthStencilStateCreateFlags
    -> Int -> IO PipelineDepthStencilStateCreateFlags)
-> (Ptr PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags -> IO ())
-> (forall b.
    Ptr b -> Int -> IO PipelineDepthStencilStateCreateFlags)
-> (forall b.
    Ptr b -> Int -> PipelineDepthStencilStateCreateFlags -> IO ())
-> (Ptr PipelineDepthStencilStateCreateFlags
    -> IO PipelineDepthStencilStateCreateFlags)
-> (Ptr PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags -> IO ())
-> Storable PipelineDepthStencilStateCreateFlags
forall b. Ptr b -> Int -> IO PipelineDepthStencilStateCreateFlags
forall b.
Ptr b -> Int -> PipelineDepthStencilStateCreateFlags -> 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 PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> IO ()
$cpoke :: Ptr PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags -> IO ()
peek :: Ptr PipelineDepthStencilStateCreateFlags
-> IO PipelineDepthStencilStateCreateFlags
$cpeek :: Ptr PipelineDepthStencilStateCreateFlags
-> IO PipelineDepthStencilStateCreateFlags
pokeByteOff :: Ptr b -> Int -> PipelineDepthStencilStateCreateFlags -> IO ()
$cpokeByteOff :: forall b.
Ptr b -> Int -> PipelineDepthStencilStateCreateFlags -> IO ()
peekByteOff :: Ptr b -> Int -> IO PipelineDepthStencilStateCreateFlags
$cpeekByteOff :: forall b. Ptr b -> Int -> IO PipelineDepthStencilStateCreateFlags
pokeElemOff :: Ptr PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags -> IO ()
$cpokeElemOff :: Ptr PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags -> IO ()
peekElemOff :: Ptr PipelineDepthStencilStateCreateFlags
-> Int -> IO PipelineDepthStencilStateCreateFlags
$cpeekElemOff :: Ptr PipelineDepthStencilStateCreateFlags
-> Int -> IO PipelineDepthStencilStateCreateFlags
alignment :: PipelineDepthStencilStateCreateFlags -> Int
$calignment :: PipelineDepthStencilStateCreateFlags -> Int
sizeOf :: PipelineDepthStencilStateCreateFlags -> Int
$csizeOf :: PipelineDepthStencilStateCreateFlags -> Int
Storable, PipelineDepthStencilStateCreateFlags
PipelineDepthStencilStateCreateFlags
-> Zero PipelineDepthStencilStateCreateFlags
forall a. a -> Zero a
zero :: PipelineDepthStencilStateCreateFlags
$czero :: PipelineDepthStencilStateCreateFlags
Zero, Eq PipelineDepthStencilStateCreateFlags
PipelineDepthStencilStateCreateFlags
Eq PipelineDepthStencilStateCreateFlags =>
(PipelineDepthStencilStateCreateFlags
 -> PipelineDepthStencilStateCreateFlags
 -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> PipelineDepthStencilStateCreateFlags
-> (Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags -> Int -> Bool)
-> (PipelineDepthStencilStateCreateFlags -> Maybe Int)
-> (PipelineDepthStencilStateCreateFlags -> Int)
-> (PipelineDepthStencilStateCreateFlags -> Bool)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags
    -> Int -> PipelineDepthStencilStateCreateFlags)
-> (PipelineDepthStencilStateCreateFlags -> Int)
-> Bits PipelineDepthStencilStateCreateFlags
Int -> PipelineDepthStencilStateCreateFlags
PipelineDepthStencilStateCreateFlags -> Bool
PipelineDepthStencilStateCreateFlags -> Int
PipelineDepthStencilStateCreateFlags -> Maybe Int
PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
PipelineDepthStencilStateCreateFlags -> Int -> Bool
PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
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 :: PipelineDepthStencilStateCreateFlags -> Int
$cpopCount :: PipelineDepthStencilStateCreateFlags -> Int
rotateR :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$crotateR :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
rotateL :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$crotateL :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
unsafeShiftR :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$cunsafeShiftR :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
shiftR :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$cshiftR :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
unsafeShiftL :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$cunsafeShiftL :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
shiftL :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$cshiftL :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
isSigned :: PipelineDepthStencilStateCreateFlags -> Bool
$cisSigned :: PipelineDepthStencilStateCreateFlags -> Bool
bitSize :: PipelineDepthStencilStateCreateFlags -> Int
$cbitSize :: PipelineDepthStencilStateCreateFlags -> Int
bitSizeMaybe :: PipelineDepthStencilStateCreateFlags -> Maybe Int
$cbitSizeMaybe :: PipelineDepthStencilStateCreateFlags -> Maybe Int
testBit :: PipelineDepthStencilStateCreateFlags -> Int -> Bool
$ctestBit :: PipelineDepthStencilStateCreateFlags -> Int -> Bool
complementBit :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$ccomplementBit :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
clearBit :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$cclearBit :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
setBit :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$csetBit :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
bit :: Int -> PipelineDepthStencilStateCreateFlags
$cbit :: Int -> PipelineDepthStencilStateCreateFlags
zeroBits :: PipelineDepthStencilStateCreateFlags
$czeroBits :: PipelineDepthStencilStateCreateFlags
rotate :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$crotate :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
shift :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
$cshift :: PipelineDepthStencilStateCreateFlags
-> Int -> PipelineDepthStencilStateCreateFlags
complement :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
$ccomplement :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
xor :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
$cxor :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
.|. :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
$c.|. :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
.&. :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
$c.&. :: PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
-> PipelineDepthStencilStateCreateFlags
$cp1Bits :: Eq PipelineDepthStencilStateCreateFlags
Bits, Bits PipelineDepthStencilStateCreateFlags
Bits PipelineDepthStencilStateCreateFlags =>
(PipelineDepthStencilStateCreateFlags -> Int)
-> (PipelineDepthStencilStateCreateFlags -> Int)
-> (PipelineDepthStencilStateCreateFlags -> Int)
-> FiniteBits PipelineDepthStencilStateCreateFlags
PipelineDepthStencilStateCreateFlags -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
countTrailingZeros :: PipelineDepthStencilStateCreateFlags -> Int
$ccountTrailingZeros :: PipelineDepthStencilStateCreateFlags -> Int
countLeadingZeros :: PipelineDepthStencilStateCreateFlags -> Int
$ccountLeadingZeros :: PipelineDepthStencilStateCreateFlags -> Int
finiteBitSize :: PipelineDepthStencilStateCreateFlags -> Int
$cfiniteBitSize :: PipelineDepthStencilStateCreateFlags -> Int
$cp1FiniteBits :: Bits PipelineDepthStencilStateCreateFlags
FiniteBits)



conNamePipelineDepthStencilStateCreateFlags :: String
conNamePipelineDepthStencilStateCreateFlags :: String
conNamePipelineDepthStencilStateCreateFlags = "PipelineDepthStencilStateCreateFlags"

enumPrefixPipelineDepthStencilStateCreateFlags :: String
enumPrefixPipelineDepthStencilStateCreateFlags :: String
enumPrefixPipelineDepthStencilStateCreateFlags = ""

showTablePipelineDepthStencilStateCreateFlags :: [(PipelineDepthStencilStateCreateFlags, String)]
showTablePipelineDepthStencilStateCreateFlags :: [(PipelineDepthStencilStateCreateFlags, String)]
showTablePipelineDepthStencilStateCreateFlags = []

instance Show PipelineDepthStencilStateCreateFlags where
  showsPrec :: Int -> PipelineDepthStencilStateCreateFlags -> ShowS
showsPrec = String
-> [(PipelineDepthStencilStateCreateFlags, String)]
-> String
-> (PipelineDepthStencilStateCreateFlags -> Flags)
-> (Flags -> ShowS)
-> Int
-> PipelineDepthStencilStateCreateFlags
-> ShowS
forall a i.
Eq a =>
String
-> [(a, String)]
-> String
-> (a -> i)
-> (i -> ShowS)
-> Int
-> a
-> ShowS
enumShowsPrec String
enumPrefixPipelineDepthStencilStateCreateFlags
                            [(PipelineDepthStencilStateCreateFlags, String)]
showTablePipelineDepthStencilStateCreateFlags
                            String
conNamePipelineDepthStencilStateCreateFlags
                            (\(PipelineDepthStencilStateCreateFlags 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 PipelineDepthStencilStateCreateFlags where
  readPrec :: ReadPrec PipelineDepthStencilStateCreateFlags
readPrec = String
-> [(PipelineDepthStencilStateCreateFlags, String)]
-> String
-> (Flags -> PipelineDepthStencilStateCreateFlags)
-> ReadPrec PipelineDepthStencilStateCreateFlags
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec String
enumPrefixPipelineDepthStencilStateCreateFlags
                          [(PipelineDepthStencilStateCreateFlags, String)]
showTablePipelineDepthStencilStateCreateFlags
                          String
conNamePipelineDepthStencilStateCreateFlags
                          Flags -> PipelineDepthStencilStateCreateFlags
PipelineDepthStencilStateCreateFlags