{-# language CPP #-}
module Vulkan.Core10.Enums.BufferUsageFlagBits ( BufferUsageFlags
, BufferUsageFlagBits( BUFFER_USAGE_TRANSFER_SRC_BIT
, BUFFER_USAGE_TRANSFER_DST_BIT
, BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT
, BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT
, BUFFER_USAGE_UNIFORM_BUFFER_BIT
, BUFFER_USAGE_STORAGE_BUFFER_BIT
, BUFFER_USAGE_INDEX_BUFFER_BIT
, BUFFER_USAGE_VERTEX_BUFFER_BIT
, BUFFER_USAGE_INDIRECT_BUFFER_BIT
, BUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT
, BUFFER_USAGE_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT
, BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT
, BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT
, BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT
, BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR
, BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR
, BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR
, BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT
, BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT
, BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT
, BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT
, ..
)
) 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)
type BufferUsageFlags = BufferUsageFlagBits
newtype BufferUsageFlagBits = BufferUsageFlagBits Flags
deriving newtype (BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
$c/= :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
== :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
$c== :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
Eq, Eq BufferUsageFlagBits
BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
BufferUsageFlagBits -> BufferUsageFlagBits -> Ordering
BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
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 :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
$cmin :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
max :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
$cmax :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
>= :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
$c>= :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
> :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
$c> :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
<= :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
$c<= :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
< :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
$c< :: BufferUsageFlagBits -> BufferUsageFlagBits -> Bool
compare :: BufferUsageFlagBits -> BufferUsageFlagBits -> Ordering
$ccompare :: BufferUsageFlagBits -> BufferUsageFlagBits -> Ordering
Ord, Ptr BufferUsageFlagBits -> IO BufferUsageFlagBits
Ptr BufferUsageFlagBits -> Int -> IO BufferUsageFlagBits
Ptr BufferUsageFlagBits -> Int -> BufferUsageFlagBits -> IO ()
Ptr BufferUsageFlagBits -> BufferUsageFlagBits -> IO ()
BufferUsageFlagBits -> Int
forall b. Ptr b -> Int -> IO BufferUsageFlagBits
forall b. Ptr b -> Int -> BufferUsageFlagBits -> 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 BufferUsageFlagBits -> BufferUsageFlagBits -> IO ()
$cpoke :: Ptr BufferUsageFlagBits -> BufferUsageFlagBits -> IO ()
peek :: Ptr BufferUsageFlagBits -> IO BufferUsageFlagBits
$cpeek :: Ptr BufferUsageFlagBits -> IO BufferUsageFlagBits
pokeByteOff :: forall b. Ptr b -> Int -> BufferUsageFlagBits -> IO ()
$cpokeByteOff :: forall b. Ptr b -> Int -> BufferUsageFlagBits -> IO ()
peekByteOff :: forall b. Ptr b -> Int -> IO BufferUsageFlagBits
$cpeekByteOff :: forall b. Ptr b -> Int -> IO BufferUsageFlagBits
pokeElemOff :: Ptr BufferUsageFlagBits -> Int -> BufferUsageFlagBits -> IO ()
$cpokeElemOff :: Ptr BufferUsageFlagBits -> Int -> BufferUsageFlagBits -> IO ()
peekElemOff :: Ptr BufferUsageFlagBits -> Int -> IO BufferUsageFlagBits
$cpeekElemOff :: Ptr BufferUsageFlagBits -> Int -> IO BufferUsageFlagBits
alignment :: BufferUsageFlagBits -> Int
$calignment :: BufferUsageFlagBits -> Int
sizeOf :: BufferUsageFlagBits -> Int
$csizeOf :: BufferUsageFlagBits -> Int
Storable, BufferUsageFlagBits
forall a. a -> Zero a
zero :: BufferUsageFlagBits
$czero :: BufferUsageFlagBits
Zero, Eq BufferUsageFlagBits
BufferUsageFlagBits
Int -> BufferUsageFlagBits
BufferUsageFlagBits -> Bool
BufferUsageFlagBits -> Int
BufferUsageFlagBits -> Maybe Int
BufferUsageFlagBits -> BufferUsageFlagBits
BufferUsageFlagBits -> Int -> Bool
BufferUsageFlagBits -> Int -> BufferUsageFlagBits
BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
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 :: BufferUsageFlagBits -> Int
$cpopCount :: BufferUsageFlagBits -> Int
rotateR :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$crotateR :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
rotateL :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$crotateL :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
unsafeShiftR :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$cunsafeShiftR :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
shiftR :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$cshiftR :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
unsafeShiftL :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$cunsafeShiftL :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
shiftL :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$cshiftL :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
isSigned :: BufferUsageFlagBits -> Bool
$cisSigned :: BufferUsageFlagBits -> Bool
bitSize :: BufferUsageFlagBits -> Int
$cbitSize :: BufferUsageFlagBits -> Int
bitSizeMaybe :: BufferUsageFlagBits -> Maybe Int
$cbitSizeMaybe :: BufferUsageFlagBits -> Maybe Int
testBit :: BufferUsageFlagBits -> Int -> Bool
$ctestBit :: BufferUsageFlagBits -> Int -> Bool
complementBit :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$ccomplementBit :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
clearBit :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$cclearBit :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
setBit :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$csetBit :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
bit :: Int -> BufferUsageFlagBits
$cbit :: Int -> BufferUsageFlagBits
zeroBits :: BufferUsageFlagBits
$czeroBits :: BufferUsageFlagBits
rotate :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$crotate :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
shift :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
$cshift :: BufferUsageFlagBits -> Int -> BufferUsageFlagBits
complement :: BufferUsageFlagBits -> BufferUsageFlagBits
$ccomplement :: BufferUsageFlagBits -> BufferUsageFlagBits
xor :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
$cxor :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
.|. :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
$c.|. :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
.&. :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
$c.&. :: BufferUsageFlagBits -> BufferUsageFlagBits -> BufferUsageFlagBits
Bits, Bits BufferUsageFlagBits
BufferUsageFlagBits -> Int
forall b.
Bits b -> (b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
countTrailingZeros :: BufferUsageFlagBits -> Int
$ccountTrailingZeros :: BufferUsageFlagBits -> Int
countLeadingZeros :: BufferUsageFlagBits -> Int
$ccountLeadingZeros :: BufferUsageFlagBits -> Int
finiteBitSize :: BufferUsageFlagBits -> Int
$cfiniteBitSize :: BufferUsageFlagBits -> Int
FiniteBits)
pattern $bBUFFER_USAGE_TRANSFER_SRC_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_TRANSFER_SRC_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_TRANSFER_SRC_BIT = BufferUsageFlagBits 0x00000001
pattern $bBUFFER_USAGE_TRANSFER_DST_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_TRANSFER_DST_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_TRANSFER_DST_BIT = BufferUsageFlagBits 0x00000002
pattern $bBUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT = BufferUsageFlagBits 0x00000004
pattern $bBUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT = BufferUsageFlagBits 0x00000008
pattern $bBUFFER_USAGE_UNIFORM_BUFFER_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_UNIFORM_BUFFER_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_UNIFORM_BUFFER_BIT = BufferUsageFlagBits 0x00000010
pattern $bBUFFER_USAGE_STORAGE_BUFFER_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_STORAGE_BUFFER_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_STORAGE_BUFFER_BIT = BufferUsageFlagBits 0x00000020
pattern $bBUFFER_USAGE_INDEX_BUFFER_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_INDEX_BUFFER_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_INDEX_BUFFER_BIT = BufferUsageFlagBits 0x00000040
pattern $bBUFFER_USAGE_VERTEX_BUFFER_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_VERTEX_BUFFER_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_VERTEX_BUFFER_BIT = BufferUsageFlagBits 0x00000080
pattern $bBUFFER_USAGE_INDIRECT_BUFFER_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_INDIRECT_BUFFER_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_INDIRECT_BUFFER_BIT = BufferUsageFlagBits 0x00000100
pattern $bBUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT :: BufferUsageFlagBits
$mBUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT = BufferUsageFlagBits 0x01000000
pattern $bBUFFER_USAGE_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT :: BufferUsageFlagBits
$mBUFFER_USAGE_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT = BufferUsageFlagBits 0x00800000
pattern $bBUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT :: BufferUsageFlagBits
$mBUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT = BufferUsageFlagBits 0x04000000
pattern $bBUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT :: BufferUsageFlagBits
$mBUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT = BufferUsageFlagBits 0x00400000
pattern $bBUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT :: BufferUsageFlagBits
$mBUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT = BufferUsageFlagBits 0x00200000
pattern $bBUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR :: BufferUsageFlagBits
$mBUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR = BufferUsageFlagBits 0x00000400
pattern $bBUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR :: BufferUsageFlagBits
$mBUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR = BufferUsageFlagBits 0x00100000
pattern $bBUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR :: BufferUsageFlagBits
$mBUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR = BufferUsageFlagBits 0x00080000
pattern $bBUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT :: BufferUsageFlagBits
$mBUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT = BufferUsageFlagBits 0x00000200
pattern $bBUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT :: BufferUsageFlagBits
$mBUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT = BufferUsageFlagBits 0x00001000
pattern $bBUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT :: BufferUsageFlagBits
$mBUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT = BufferUsageFlagBits 0x00000800
pattern $bBUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT :: BufferUsageFlagBits
$mBUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT :: forall {r}.
BufferUsageFlagBits -> ((# #) -> r) -> ((# #) -> r) -> r
BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT = BufferUsageFlagBits 0x00020000
conNameBufferUsageFlagBits :: String
conNameBufferUsageFlagBits :: String
conNameBufferUsageFlagBits = String
"BufferUsageFlagBits"
enumPrefixBufferUsageFlagBits :: String
enumPrefixBufferUsageFlagBits :: String
enumPrefixBufferUsageFlagBits = String
"BUFFER_USAGE_"
showTableBufferUsageFlagBits :: [(BufferUsageFlagBits, String)]
showTableBufferUsageFlagBits :: [(BufferUsageFlagBits, String)]
showTableBufferUsageFlagBits =
[
( BufferUsageFlagBits
BUFFER_USAGE_TRANSFER_SRC_BIT
, String
"TRANSFER_SRC_BIT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_TRANSFER_DST_BIT
, String
"TRANSFER_DST_BIT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT
, String
"UNIFORM_TEXEL_BUFFER_BIT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT
, String
"STORAGE_TEXEL_BUFFER_BIT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_UNIFORM_BUFFER_BIT
, String
"UNIFORM_BUFFER_BIT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_STORAGE_BUFFER_BIT
, String
"STORAGE_BUFFER_BIT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_INDEX_BUFFER_BIT
, String
"INDEX_BUFFER_BIT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_VERTEX_BUFFER_BIT
, String
"VERTEX_BUFFER_BIT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_INDIRECT_BUFFER_BIT
, String
"INDIRECT_BUFFER_BIT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_MICROMAP_STORAGE_BIT_EXT
, String
"MICROMAP_STORAGE_BIT_EXT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT
, String
"MICROMAP_BUILD_INPUT_READ_ONLY_BIT_EXT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT
, String
"PUSH_DESCRIPTORS_DESCRIPTOR_BUFFER_BIT_EXT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT
, String
"RESOURCE_DESCRIPTOR_BUFFER_BIT_EXT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT
, String
"SAMPLER_DESCRIPTOR_BUFFER_BIT_EXT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_SHADER_BINDING_TABLE_BIT_KHR
, String
"SHADER_BINDING_TABLE_BIT_KHR"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_ACCELERATION_STRUCTURE_STORAGE_BIT_KHR
, String
"ACCELERATION_STRUCTURE_STORAGE_BIT_KHR"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR
, String
"ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT
, String
"CONDITIONAL_RENDERING_BIT_EXT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT
, String
"TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT
, String
"TRANSFORM_FEEDBACK_BUFFER_BIT_EXT"
)
,
( BufferUsageFlagBits
BUFFER_USAGE_SHADER_DEVICE_ADDRESS_BIT
, String
"SHADER_DEVICE_ADDRESS_BIT"
)
]
instance Show BufferUsageFlagBits where
showsPrec :: Int -> BufferUsageFlagBits -> ShowS
showsPrec =
forall a i.
Eq a =>
String
-> [(a, String)]
-> String
-> (a -> i)
-> (i -> ShowS)
-> Int
-> a
-> ShowS
enumShowsPrec
String
enumPrefixBufferUsageFlagBits
[(BufferUsageFlagBits, String)]
showTableBufferUsageFlagBits
String
conNameBufferUsageFlagBits
(\(BufferUsageFlagBits 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 BufferUsageFlagBits where
readPrec :: ReadPrec BufferUsageFlagBits
readPrec =
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec
String
enumPrefixBufferUsageFlagBits
[(BufferUsageFlagBits, String)]
showTableBufferUsageFlagBits
String
conNameBufferUsageFlagBits
Flags -> BufferUsageFlagBits
BufferUsageFlagBits