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