{-# language CPP #-}
-- | = Name
--
-- XR_MND_swapchain_usage_input_attachment_bit - instance extension
--
-- = Specification
--
-- See
-- <https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_MND_swapchain_usage_input_attachment_bit  XR_MND_swapchain_usage_input_attachment_bit>
-- in the main specification for complete information.
--
-- = Registered Extension Number
--
-- 97
--
-- = Revision
--
-- 2
--
-- = Extension and Version Dependencies
--
-- -   Requires OpenXR 1.0
--
-- = See Also
--
-- No cross-references are available
--
-- = Document Notes
--
-- For more information, see the
-- <https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#XR_MND_swapchain_usage_input_attachment_bit OpenXR Specification>
--
-- This page is a generated document. Fixes and changes should be made to
-- the generator scripts, not directly.
module OpenXR.Extensions.XR_MND_swapchain_usage_input_attachment_bit  ( SwapchainUsageFlagBits( SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT
                                                                                              , SWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT
                                                                                              , SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT
                                                                                              , SWAPCHAIN_USAGE_TRANSFER_SRC_BIT
                                                                                              , SWAPCHAIN_USAGE_TRANSFER_DST_BIT
                                                                                              , SWAPCHAIN_USAGE_SAMPLED_BIT
                                                                                              , SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT
                                                                                              , SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND
                                                                                              , ..
                                                                                              )
                                                                      , MND_swapchain_usage_input_attachment_bit_SPEC_VERSION
                                                                      , pattern MND_swapchain_usage_input_attachment_bit_SPEC_VERSION
                                                                      , MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME
                                                                      , pattern MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME
                                                                      ) where

import OpenXR.Internal.Utils (enumReadPrec)
import OpenXR.Internal.Utils (enumShowsPrec)
import GHC.Show (showString)
import Numeric (showHex)
import OpenXR.Zero (Zero)
import Data.Bits (Bits)
import Data.Bits (FiniteBits)
import Data.String (IsString)
import Foreign.Storable (Storable)
import GHC.Read (Read(readPrec))
import GHC.Show (Show(showsPrec))
import OpenXR.Core10.FundamentalTypes (Flags64)
-- No documentation found for TopLevel "XrSwapchainUsageFlagBits"
newtype SwapchainUsageFlagBits = SwapchainUsageFlagBits Flags64
  deriving newtype (SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
(SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool)
-> (SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool)
-> Eq SwapchainUsageFlagBits
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
$c/= :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
== :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
$c== :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
Eq, Eq SwapchainUsageFlagBits
Eq SwapchainUsageFlagBits =>
(SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Ordering)
-> (SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool)
-> (SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool)
-> (SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool)
-> (SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool)
-> (SwapchainUsageFlagBits
    -> SwapchainUsageFlagBits -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits
    -> SwapchainUsageFlagBits -> SwapchainUsageFlagBits)
-> Ord SwapchainUsageFlagBits
SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Ordering
SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
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 :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
$cmin :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
max :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
$cmax :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
>= :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
$c>= :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
> :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
$c> :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
<= :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
$c<= :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
< :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
$c< :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Bool
compare :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Ordering
$ccompare :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> Ordering
$cp1Ord :: Eq SwapchainUsageFlagBits
Ord, Ptr b -> Int -> IO SwapchainUsageFlagBits
Ptr b -> Int -> SwapchainUsageFlagBits -> IO ()
Ptr SwapchainUsageFlagBits -> IO SwapchainUsageFlagBits
Ptr SwapchainUsageFlagBits -> Int -> IO SwapchainUsageFlagBits
Ptr SwapchainUsageFlagBits
-> Int -> SwapchainUsageFlagBits -> IO ()
Ptr SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> IO ()
SwapchainUsageFlagBits -> Int
(SwapchainUsageFlagBits -> Int)
-> (SwapchainUsageFlagBits -> Int)
-> (Ptr SwapchainUsageFlagBits -> Int -> IO SwapchainUsageFlagBits)
-> (Ptr SwapchainUsageFlagBits
    -> Int -> SwapchainUsageFlagBits -> IO ())
-> (forall b. Ptr b -> Int -> IO SwapchainUsageFlagBits)
-> (forall b. Ptr b -> Int -> SwapchainUsageFlagBits -> IO ())
-> (Ptr SwapchainUsageFlagBits -> IO SwapchainUsageFlagBits)
-> (Ptr SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> IO ())
-> Storable SwapchainUsageFlagBits
forall b. Ptr b -> Int -> IO SwapchainUsageFlagBits
forall b. Ptr b -> Int -> SwapchainUsageFlagBits -> 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 SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> IO ()
$cpoke :: Ptr SwapchainUsageFlagBits -> SwapchainUsageFlagBits -> IO ()
peek :: Ptr SwapchainUsageFlagBits -> IO SwapchainUsageFlagBits
$cpeek :: Ptr SwapchainUsageFlagBits -> IO SwapchainUsageFlagBits
pokeByteOff :: Ptr b -> Int -> SwapchainUsageFlagBits -> IO ()
$cpokeByteOff :: forall b. Ptr b -> Int -> SwapchainUsageFlagBits -> IO ()
peekByteOff :: Ptr b -> Int -> IO SwapchainUsageFlagBits
$cpeekByteOff :: forall b. Ptr b -> Int -> IO SwapchainUsageFlagBits
pokeElemOff :: Ptr SwapchainUsageFlagBits
-> Int -> SwapchainUsageFlagBits -> IO ()
$cpokeElemOff :: Ptr SwapchainUsageFlagBits
-> Int -> SwapchainUsageFlagBits -> IO ()
peekElemOff :: Ptr SwapchainUsageFlagBits -> Int -> IO SwapchainUsageFlagBits
$cpeekElemOff :: Ptr SwapchainUsageFlagBits -> Int -> IO SwapchainUsageFlagBits
alignment :: SwapchainUsageFlagBits -> Int
$calignment :: SwapchainUsageFlagBits -> Int
sizeOf :: SwapchainUsageFlagBits -> Int
$csizeOf :: SwapchainUsageFlagBits -> Int
Storable, SwapchainUsageFlagBits
SwapchainUsageFlagBits -> Zero SwapchainUsageFlagBits
forall a. a -> Zero a
zero :: SwapchainUsageFlagBits
$czero :: SwapchainUsageFlagBits
Zero, Eq SwapchainUsageFlagBits
SwapchainUsageFlagBits
Eq SwapchainUsageFlagBits =>
(SwapchainUsageFlagBits
 -> SwapchainUsageFlagBits -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits
    -> SwapchainUsageFlagBits -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits
    -> SwapchainUsageFlagBits -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> SwapchainUsageFlagBits
-> (Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> Bool)
-> (SwapchainUsageFlagBits -> Maybe Int)
-> (SwapchainUsageFlagBits -> Int)
-> (SwapchainUsageFlagBits -> Bool)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits)
-> (SwapchainUsageFlagBits -> Int)
-> Bits SwapchainUsageFlagBits
Int -> SwapchainUsageFlagBits
SwapchainUsageFlagBits -> Bool
SwapchainUsageFlagBits -> Int
SwapchainUsageFlagBits -> Maybe Int
SwapchainUsageFlagBits -> SwapchainUsageFlagBits
SwapchainUsageFlagBits -> Int -> Bool
SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
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 :: SwapchainUsageFlagBits -> Int
$cpopCount :: SwapchainUsageFlagBits -> Int
rotateR :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$crotateR :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
rotateL :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$crotateL :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
unsafeShiftR :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$cunsafeShiftR :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
shiftR :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$cshiftR :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
unsafeShiftL :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$cunsafeShiftL :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
shiftL :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$cshiftL :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
isSigned :: SwapchainUsageFlagBits -> Bool
$cisSigned :: SwapchainUsageFlagBits -> Bool
bitSize :: SwapchainUsageFlagBits -> Int
$cbitSize :: SwapchainUsageFlagBits -> Int
bitSizeMaybe :: SwapchainUsageFlagBits -> Maybe Int
$cbitSizeMaybe :: SwapchainUsageFlagBits -> Maybe Int
testBit :: SwapchainUsageFlagBits -> Int -> Bool
$ctestBit :: SwapchainUsageFlagBits -> Int -> Bool
complementBit :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$ccomplementBit :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
clearBit :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$cclearBit :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
setBit :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$csetBit :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
bit :: Int -> SwapchainUsageFlagBits
$cbit :: Int -> SwapchainUsageFlagBits
zeroBits :: SwapchainUsageFlagBits
$czeroBits :: SwapchainUsageFlagBits
rotate :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$crotate :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
shift :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
$cshift :: SwapchainUsageFlagBits -> Int -> SwapchainUsageFlagBits
complement :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits
$ccomplement :: SwapchainUsageFlagBits -> SwapchainUsageFlagBits
xor :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
$cxor :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
.|. :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
$c.|. :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
.&. :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
$c.&. :: SwapchainUsageFlagBits
-> SwapchainUsageFlagBits -> SwapchainUsageFlagBits
$cp1Bits :: Eq SwapchainUsageFlagBits
Bits, Bits SwapchainUsageFlagBits
Bits SwapchainUsageFlagBits =>
(SwapchainUsageFlagBits -> Int)
-> (SwapchainUsageFlagBits -> Int)
-> (SwapchainUsageFlagBits -> Int)
-> FiniteBits SwapchainUsageFlagBits
SwapchainUsageFlagBits -> Int
forall b.
Bits b =>
(b -> Int) -> (b -> Int) -> (b -> Int) -> FiniteBits b
countTrailingZeros :: SwapchainUsageFlagBits -> Int
$ccountTrailingZeros :: SwapchainUsageFlagBits -> Int
countLeadingZeros :: SwapchainUsageFlagBits -> Int
$ccountLeadingZeros :: SwapchainUsageFlagBits -> Int
finiteBitSize :: SwapchainUsageFlagBits -> Int
$cfiniteBitSize :: SwapchainUsageFlagBits -> Int
$cp1FiniteBits :: Bits SwapchainUsageFlagBits
FiniteBits)

-- No documentation found for Nested "XrSwapchainUsageFlagBits" "XR_SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT"
pattern $bSWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT :: SwapchainUsageFlagBits
$mSWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT :: forall r.
SwapchainUsageFlagBits -> (Void# -> r) -> (Void# -> r) -> r
SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT         = SwapchainUsageFlagBits 0x00000001
-- No documentation found for Nested "XrSwapchainUsageFlagBits" "XR_SWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT"
pattern $bSWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT :: SwapchainUsageFlagBits
$mSWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT :: forall r.
SwapchainUsageFlagBits -> (Void# -> r) -> (Void# -> r) -> r
SWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT = SwapchainUsageFlagBits 0x00000002
-- No documentation found for Nested "XrSwapchainUsageFlagBits" "XR_SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT"
pattern $bSWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT :: SwapchainUsageFlagBits
$mSWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT :: forall r.
SwapchainUsageFlagBits -> (Void# -> r) -> (Void# -> r) -> r
SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT         = SwapchainUsageFlagBits 0x00000004
-- No documentation found for Nested "XrSwapchainUsageFlagBits" "XR_SWAPCHAIN_USAGE_TRANSFER_SRC_BIT"
pattern $bSWAPCHAIN_USAGE_TRANSFER_SRC_BIT :: SwapchainUsageFlagBits
$mSWAPCHAIN_USAGE_TRANSFER_SRC_BIT :: forall r.
SwapchainUsageFlagBits -> (Void# -> r) -> (Void# -> r) -> r
SWAPCHAIN_USAGE_TRANSFER_SRC_BIT             = SwapchainUsageFlagBits 0x00000008
-- No documentation found for Nested "XrSwapchainUsageFlagBits" "XR_SWAPCHAIN_USAGE_TRANSFER_DST_BIT"
pattern $bSWAPCHAIN_USAGE_TRANSFER_DST_BIT :: SwapchainUsageFlagBits
$mSWAPCHAIN_USAGE_TRANSFER_DST_BIT :: forall r.
SwapchainUsageFlagBits -> (Void# -> r) -> (Void# -> r) -> r
SWAPCHAIN_USAGE_TRANSFER_DST_BIT             = SwapchainUsageFlagBits 0x00000010
-- No documentation found for Nested "XrSwapchainUsageFlagBits" "XR_SWAPCHAIN_USAGE_SAMPLED_BIT"
pattern $bSWAPCHAIN_USAGE_SAMPLED_BIT :: SwapchainUsageFlagBits
$mSWAPCHAIN_USAGE_SAMPLED_BIT :: forall r.
SwapchainUsageFlagBits -> (Void# -> r) -> (Void# -> r) -> r
SWAPCHAIN_USAGE_SAMPLED_BIT                  = SwapchainUsageFlagBits 0x00000020
-- No documentation found for Nested "XrSwapchainUsageFlagBits" "XR_SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT"
pattern $bSWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT :: SwapchainUsageFlagBits
$mSWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT :: forall r.
SwapchainUsageFlagBits -> (Void# -> r) -> (Void# -> r) -> r
SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT           = SwapchainUsageFlagBits 0x00000040
-- No documentation found for Nested "XrSwapchainUsageFlagBits" "XR_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND"
pattern $bSWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND :: SwapchainUsageFlagBits
$mSWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND :: forall r.
SwapchainUsageFlagBits -> (Void# -> r) -> (Void# -> r) -> r
SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND     = SwapchainUsageFlagBits 0x00000080

conNameSwapchainUsageFlagBits :: String
conNameSwapchainUsageFlagBits :: String
conNameSwapchainUsageFlagBits = "SwapchainUsageFlagBits"

enumPrefixSwapchainUsageFlagBits :: String
enumPrefixSwapchainUsageFlagBits :: String
enumPrefixSwapchainUsageFlagBits = "SWAPCHAIN_USAGE_"

showTableSwapchainUsageFlagBits :: [(SwapchainUsageFlagBits, String)]
showTableSwapchainUsageFlagBits :: [(SwapchainUsageFlagBits, String)]
showTableSwapchainUsageFlagBits =
  [ (SwapchainUsageFlagBits
SWAPCHAIN_USAGE_COLOR_ATTACHMENT_BIT        , "COLOR_ATTACHMENT_BIT")
  , (SwapchainUsageFlagBits
SWAPCHAIN_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT, "DEPTH_STENCIL_ATTACHMENT_BIT")
  , (SwapchainUsageFlagBits
SWAPCHAIN_USAGE_UNORDERED_ACCESS_BIT        , "UNORDERED_ACCESS_BIT")
  , (SwapchainUsageFlagBits
SWAPCHAIN_USAGE_TRANSFER_SRC_BIT            , "TRANSFER_SRC_BIT")
  , (SwapchainUsageFlagBits
SWAPCHAIN_USAGE_TRANSFER_DST_BIT            , "TRANSFER_DST_BIT")
  , (SwapchainUsageFlagBits
SWAPCHAIN_USAGE_SAMPLED_BIT                 , "SAMPLED_BIT")
  , (SwapchainUsageFlagBits
SWAPCHAIN_USAGE_MUTABLE_FORMAT_BIT          , "MUTABLE_FORMAT_BIT")
  , (SwapchainUsageFlagBits
SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_MND    , "INPUT_ATTACHMENT_BIT_MND")
  ]

instance Show SwapchainUsageFlagBits where
  showsPrec :: Int -> SwapchainUsageFlagBits -> ShowS
showsPrec = String
-> [(SwapchainUsageFlagBits, String)]
-> String
-> (SwapchainUsageFlagBits -> Flags64)
-> (Flags64 -> ShowS)
-> Int
-> SwapchainUsageFlagBits
-> ShowS
forall a i.
Eq a =>
String
-> [(a, String)]
-> String
-> (a -> i)
-> (i -> ShowS)
-> Int
-> a
-> ShowS
enumShowsPrec String
enumPrefixSwapchainUsageFlagBits
                            [(SwapchainUsageFlagBits, String)]
showTableSwapchainUsageFlagBits
                            String
conNameSwapchainUsageFlagBits
                            (\(SwapchainUsageFlagBits x :: Flags64
x) -> Flags64
x)
                            (\x :: Flags64
x -> String -> ShowS
showString "0x" ShowS -> ShowS -> ShowS
forall b c a. (b -> c) -> (a -> b) -> a -> c
. Flags64 -> ShowS
forall a. (Integral a, Show a) => a -> ShowS
showHex Flags64
x)

instance Read SwapchainUsageFlagBits where
  readPrec :: ReadPrec SwapchainUsageFlagBits
readPrec = String
-> [(SwapchainUsageFlagBits, String)]
-> String
-> (Flags64 -> SwapchainUsageFlagBits)
-> ReadPrec SwapchainUsageFlagBits
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec String
enumPrefixSwapchainUsageFlagBits
                          [(SwapchainUsageFlagBits, String)]
showTableSwapchainUsageFlagBits
                          String
conNameSwapchainUsageFlagBits
                          Flags64 -> SwapchainUsageFlagBits
SwapchainUsageFlagBits


type MND_swapchain_usage_input_attachment_bit_SPEC_VERSION = 2

-- No documentation found for TopLevel "XR_MND_swapchain_usage_input_attachment_bit_SPEC_VERSION"
pattern MND_swapchain_usage_input_attachment_bit_SPEC_VERSION :: forall a . Integral a => a
pattern $bMND_swapchain_usage_input_attachment_bit_SPEC_VERSION :: a
$mMND_swapchain_usage_input_attachment_bit_SPEC_VERSION :: forall r a. Integral a => a -> (Void# -> r) -> (Void# -> r) -> r
MND_swapchain_usage_input_attachment_bit_SPEC_VERSION = 2


type MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME = "XR_MND_swapchain_usage_input_attachment_bit"

-- No documentation found for TopLevel "XR_MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME"
pattern MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME :: forall a . (Eq a, IsString a) => a
pattern $bMND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME :: a
$mMND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME :: forall r a.
(Eq a, IsString a) =>
a -> (Void# -> r) -> (Void# -> r) -> r
MND_SWAPCHAIN_USAGE_INPUT_ATTACHMENT_BIT_EXTENSION_NAME = "XR_MND_swapchain_usage_input_attachment_bit"