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

conNamePipelineMultisampleStateCreateFlags :: String
conNamePipelineMultisampleStateCreateFlags :: String
conNamePipelineMultisampleStateCreateFlags = String
"PipelineMultisampleStateCreateFlags"

enumPrefixPipelineMultisampleStateCreateFlags :: String
enumPrefixPipelineMultisampleStateCreateFlags :: String
enumPrefixPipelineMultisampleStateCreateFlags = String
""

showTablePipelineMultisampleStateCreateFlags :: [(PipelineMultisampleStateCreateFlags, String)]
showTablePipelineMultisampleStateCreateFlags :: [(PipelineMultisampleStateCreateFlags, String)]
showTablePipelineMultisampleStateCreateFlags = []

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