{-# language CPP #-}
module Vulkan.Core10.Enums.PipelineViewportStateCreateFlags (PipelineViewportStateCreateFlags(..)) 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)
newtype PipelineViewportStateCreateFlags = PipelineViewportStateCreateFlags Flags
deriving newtype (PipelineViewportStateCreateFlags
-> PipelineViewportStateCreateFlags -> Bool
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
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
Ord, Ptr PipelineViewportStateCreateFlags
-> IO PipelineViewportStateCreateFlags
Ptr PipelineViewportStateCreateFlags
-> Int -> IO PipelineViewportStateCreateFlags
Ptr PipelineViewportStateCreateFlags
-> Int -> PipelineViewportStateCreateFlags -> IO ()
Ptr PipelineViewportStateCreateFlags
-> PipelineViewportStateCreateFlags -> IO ()
PipelineViewportStateCreateFlags -> Int
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 :: forall b. Ptr b -> Int -> PipelineViewportStateCreateFlags -> IO ()
$cpokeByteOff :: forall b. Ptr b -> Int -> PipelineViewportStateCreateFlags -> IO ()
peekByteOff :: forall b. 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
forall a. a -> Zero a
zero :: PipelineViewportStateCreateFlags
$czero :: PipelineViewportStateCreateFlags
Zero, Eq PipelineViewportStateCreateFlags
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
Bits, Bits 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
FiniteBits)
conNamePipelineViewportStateCreateFlags :: String
conNamePipelineViewportStateCreateFlags :: String
conNamePipelineViewportStateCreateFlags = String
"PipelineViewportStateCreateFlags"
enumPrefixPipelineViewportStateCreateFlags :: String
enumPrefixPipelineViewportStateCreateFlags :: String
enumPrefixPipelineViewportStateCreateFlags = String
""
showTablePipelineViewportStateCreateFlags :: [(PipelineViewportStateCreateFlags, String)]
showTablePipelineViewportStateCreateFlags :: [(PipelineViewportStateCreateFlags, String)]
showTablePipelineViewportStateCreateFlags = []
instance Show PipelineViewportStateCreateFlags where
showsPrec :: Int -> PipelineViewportStateCreateFlags -> ShowS
showsPrec =
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 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 PipelineViewportStateCreateFlags where
readPrec :: ReadPrec PipelineViewportStateCreateFlags
readPrec =
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec
String
enumPrefixPipelineViewportStateCreateFlags
[(PipelineViewportStateCreateFlags, String)]
showTablePipelineViewportStateCreateFlags
String
conNamePipelineViewportStateCreateFlags
Flags -> PipelineViewportStateCreateFlags
PipelineViewportStateCreateFlags