{-# language CPP #-}
module Vulkan.Core10.Enums.DynamicState (DynamicState( DYNAMIC_STATE_VIEWPORT
, DYNAMIC_STATE_SCISSOR
, DYNAMIC_STATE_LINE_WIDTH
, DYNAMIC_STATE_DEPTH_BIAS
, DYNAMIC_STATE_BLEND_CONSTANTS
, DYNAMIC_STATE_DEPTH_BOUNDS
, DYNAMIC_STATE_STENCIL_COMPARE_MASK
, DYNAMIC_STATE_STENCIL_WRITE_MASK
, DYNAMIC_STATE_STENCIL_REFERENCE
, DYNAMIC_STATE_STENCIL_OP_EXT
, DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT
, DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT
, DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT
, DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT
, DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT
, DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT
, DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT
, DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT
, DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT
, DYNAMIC_STATE_FRONT_FACE_EXT
, DYNAMIC_STATE_CULL_MODE_EXT
, DYNAMIC_STATE_LINE_STIPPLE_EXT
, DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR
, DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV
, DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV
, DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV
, DYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR
, DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT
, DYNAMIC_STATE_DISCARD_RECTANGLE_EXT
, DYNAMIC_STATE_VIEWPORT_W_SCALING_NV
, ..
)) where
import Vulkan.Internal.Utils (enumReadPrec)
import Vulkan.Internal.Utils (enumShowsPrec)
import GHC.Show (showsPrec)
import Foreign.Storable (Storable)
import Data.Int (Int32)
import GHC.Read (Read(readPrec))
import GHC.Show (Show(showsPrec))
import Vulkan.Zero (Zero)
newtype DynamicState = DynamicState Int32
deriving newtype (DynamicState -> DynamicState -> Bool
(DynamicState -> DynamicState -> Bool)
-> (DynamicState -> DynamicState -> Bool) -> Eq DynamicState
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DynamicState -> DynamicState -> Bool
$c/= :: DynamicState -> DynamicState -> Bool
== :: DynamicState -> DynamicState -> Bool
$c== :: DynamicState -> DynamicState -> Bool
Eq, Eq DynamicState
Eq DynamicState =>
(DynamicState -> DynamicState -> Ordering)
-> (DynamicState -> DynamicState -> Bool)
-> (DynamicState -> DynamicState -> Bool)
-> (DynamicState -> DynamicState -> Bool)
-> (DynamicState -> DynamicState -> Bool)
-> (DynamicState -> DynamicState -> DynamicState)
-> (DynamicState -> DynamicState -> DynamicState)
-> Ord DynamicState
DynamicState -> DynamicState -> Bool
DynamicState -> DynamicState -> Ordering
DynamicState -> DynamicState -> DynamicState
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 :: DynamicState -> DynamicState -> DynamicState
$cmin :: DynamicState -> DynamicState -> DynamicState
max :: DynamicState -> DynamicState -> DynamicState
$cmax :: DynamicState -> DynamicState -> DynamicState
>= :: DynamicState -> DynamicState -> Bool
$c>= :: DynamicState -> DynamicState -> Bool
> :: DynamicState -> DynamicState -> Bool
$c> :: DynamicState -> DynamicState -> Bool
<= :: DynamicState -> DynamicState -> Bool
$c<= :: DynamicState -> DynamicState -> Bool
< :: DynamicState -> DynamicState -> Bool
$c< :: DynamicState -> DynamicState -> Bool
compare :: DynamicState -> DynamicState -> Ordering
$ccompare :: DynamicState -> DynamicState -> Ordering
$cp1Ord :: Eq DynamicState
Ord, Ptr b -> Int -> IO DynamicState
Ptr b -> Int -> DynamicState -> IO ()
Ptr DynamicState -> IO DynamicState
Ptr DynamicState -> Int -> IO DynamicState
Ptr DynamicState -> Int -> DynamicState -> IO ()
Ptr DynamicState -> DynamicState -> IO ()
DynamicState -> Int
(DynamicState -> Int)
-> (DynamicState -> Int)
-> (Ptr DynamicState -> Int -> IO DynamicState)
-> (Ptr DynamicState -> Int -> DynamicState -> IO ())
-> (forall b. Ptr b -> Int -> IO DynamicState)
-> (forall b. Ptr b -> Int -> DynamicState -> IO ())
-> (Ptr DynamicState -> IO DynamicState)
-> (Ptr DynamicState -> DynamicState -> IO ())
-> Storable DynamicState
forall b. Ptr b -> Int -> IO DynamicState
forall b. Ptr b -> Int -> DynamicState -> 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 DynamicState -> DynamicState -> IO ()
$cpoke :: Ptr DynamicState -> DynamicState -> IO ()
peek :: Ptr DynamicState -> IO DynamicState
$cpeek :: Ptr DynamicState -> IO DynamicState
pokeByteOff :: Ptr b -> Int -> DynamicState -> IO ()
$cpokeByteOff :: forall b. Ptr b -> Int -> DynamicState -> IO ()
peekByteOff :: Ptr b -> Int -> IO DynamicState
$cpeekByteOff :: forall b. Ptr b -> Int -> IO DynamicState
pokeElemOff :: Ptr DynamicState -> Int -> DynamicState -> IO ()
$cpokeElemOff :: Ptr DynamicState -> Int -> DynamicState -> IO ()
peekElemOff :: Ptr DynamicState -> Int -> IO DynamicState
$cpeekElemOff :: Ptr DynamicState -> Int -> IO DynamicState
alignment :: DynamicState -> Int
$calignment :: DynamicState -> Int
sizeOf :: DynamicState -> Int
$csizeOf :: DynamicState -> Int
Storable, DynamicState
DynamicState -> Zero DynamicState
forall a. a -> Zero a
zero :: DynamicState
$czero :: DynamicState
Zero)
pattern $bDYNAMIC_STATE_VIEWPORT :: DynamicState
$mDYNAMIC_STATE_VIEWPORT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_VIEWPORT = DynamicState 0
pattern $bDYNAMIC_STATE_SCISSOR :: DynamicState
$mDYNAMIC_STATE_SCISSOR :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_SCISSOR = DynamicState 1
pattern $bDYNAMIC_STATE_LINE_WIDTH :: DynamicState
$mDYNAMIC_STATE_LINE_WIDTH :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_LINE_WIDTH = DynamicState 2
pattern $bDYNAMIC_STATE_DEPTH_BIAS :: DynamicState
$mDYNAMIC_STATE_DEPTH_BIAS :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_DEPTH_BIAS = DynamicState 3
pattern $bDYNAMIC_STATE_BLEND_CONSTANTS :: DynamicState
$mDYNAMIC_STATE_BLEND_CONSTANTS :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_BLEND_CONSTANTS = DynamicState 4
pattern $bDYNAMIC_STATE_DEPTH_BOUNDS :: DynamicState
$mDYNAMIC_STATE_DEPTH_BOUNDS :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_DEPTH_BOUNDS = DynamicState 5
pattern $bDYNAMIC_STATE_STENCIL_COMPARE_MASK :: DynamicState
$mDYNAMIC_STATE_STENCIL_COMPARE_MASK :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_STENCIL_COMPARE_MASK = DynamicState 6
pattern $bDYNAMIC_STATE_STENCIL_WRITE_MASK :: DynamicState
$mDYNAMIC_STATE_STENCIL_WRITE_MASK :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_STENCIL_WRITE_MASK = DynamicState 7
pattern $bDYNAMIC_STATE_STENCIL_REFERENCE :: DynamicState
$mDYNAMIC_STATE_STENCIL_REFERENCE :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_STENCIL_REFERENCE = DynamicState 8
pattern $bDYNAMIC_STATE_STENCIL_OP_EXT :: DynamicState
$mDYNAMIC_STATE_STENCIL_OP_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_STENCIL_OP_EXT = DynamicState 1000267011
pattern $bDYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT :: DynamicState
$mDYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT = DynamicState 1000267010
pattern $bDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT :: DynamicState
$mDYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT = DynamicState 1000267009
pattern $bDYNAMIC_STATE_DEPTH_COMPARE_OP_EXT :: DynamicState
$mDYNAMIC_STATE_DEPTH_COMPARE_OP_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT = DynamicState 1000267008
pattern $bDYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT :: DynamicState
$mDYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT = DynamicState 1000267007
pattern $bDYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT :: DynamicState
$mDYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT = DynamicState 1000267006
pattern $bDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT :: DynamicState
$mDYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT = DynamicState 1000267005
pattern $bDYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT :: DynamicState
$mDYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT = DynamicState 1000267004
pattern $bDYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT :: DynamicState
$mDYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT = DynamicState 1000267003
pattern $bDYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT :: DynamicState
$mDYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT = DynamicState 1000267002
pattern $bDYNAMIC_STATE_FRONT_FACE_EXT :: DynamicState
$mDYNAMIC_STATE_FRONT_FACE_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_FRONT_FACE_EXT = DynamicState 1000267001
pattern $bDYNAMIC_STATE_CULL_MODE_EXT :: DynamicState
$mDYNAMIC_STATE_CULL_MODE_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_CULL_MODE_EXT = DynamicState 1000267000
pattern $bDYNAMIC_STATE_LINE_STIPPLE_EXT :: DynamicState
$mDYNAMIC_STATE_LINE_STIPPLE_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_LINE_STIPPLE_EXT = DynamicState 1000259000
pattern $bDYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR :: DynamicState
$mDYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR = DynamicState 1000226000
pattern $bDYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV :: DynamicState
$mDYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV = DynamicState 1000205001
pattern $bDYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV :: DynamicState
$mDYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV = DynamicState 1000164006
pattern $bDYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV :: DynamicState
$mDYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV = DynamicState 1000164004
pattern $bDYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR :: DynamicState
$mDYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR = DynamicState 1000347000
pattern $bDYNAMIC_STATE_SAMPLE_LOCATIONS_EXT :: DynamicState
$mDYNAMIC_STATE_SAMPLE_LOCATIONS_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT = DynamicState 1000143000
pattern $bDYNAMIC_STATE_DISCARD_RECTANGLE_EXT :: DynamicState
$mDYNAMIC_STATE_DISCARD_RECTANGLE_EXT :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_DISCARD_RECTANGLE_EXT = DynamicState 1000099000
pattern $bDYNAMIC_STATE_VIEWPORT_W_SCALING_NV :: DynamicState
$mDYNAMIC_STATE_VIEWPORT_W_SCALING_NV :: forall r. DynamicState -> (Void# -> r) -> (Void# -> r) -> r
DYNAMIC_STATE_VIEWPORT_W_SCALING_NV = DynamicState 1000087000
{-# complete DYNAMIC_STATE_VIEWPORT,
DYNAMIC_STATE_SCISSOR,
DYNAMIC_STATE_LINE_WIDTH,
DYNAMIC_STATE_DEPTH_BIAS,
DYNAMIC_STATE_BLEND_CONSTANTS,
DYNAMIC_STATE_DEPTH_BOUNDS,
DYNAMIC_STATE_STENCIL_COMPARE_MASK,
DYNAMIC_STATE_STENCIL_WRITE_MASK,
DYNAMIC_STATE_STENCIL_REFERENCE,
DYNAMIC_STATE_STENCIL_OP_EXT,
DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT,
DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT,
DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT,
DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT,
DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT,
DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT,
DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT,
DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT,
DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT,
DYNAMIC_STATE_FRONT_FACE_EXT,
DYNAMIC_STATE_CULL_MODE_EXT,
DYNAMIC_STATE_LINE_STIPPLE_EXT,
DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR,
DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV,
DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV,
DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV,
DYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR,
DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT,
DYNAMIC_STATE_DISCARD_RECTANGLE_EXT,
DYNAMIC_STATE_VIEWPORT_W_SCALING_NV :: DynamicState #-}
conNameDynamicState :: String
conNameDynamicState :: String
conNameDynamicState = "DynamicState"
enumPrefixDynamicState :: String
enumPrefixDynamicState :: String
enumPrefixDynamicState = "DYNAMIC_STATE_"
showTableDynamicState :: [(DynamicState, String)]
showTableDynamicState :: [(DynamicState, String)]
showTableDynamicState =
[ (DynamicState
DYNAMIC_STATE_VIEWPORT , "VIEWPORT")
, (DynamicState
DYNAMIC_STATE_SCISSOR , "SCISSOR")
, (DynamicState
DYNAMIC_STATE_LINE_WIDTH , "LINE_WIDTH")
, (DynamicState
DYNAMIC_STATE_DEPTH_BIAS , "DEPTH_BIAS")
, (DynamicState
DYNAMIC_STATE_BLEND_CONSTANTS , "BLEND_CONSTANTS")
, (DynamicState
DYNAMIC_STATE_DEPTH_BOUNDS , "DEPTH_BOUNDS")
, (DynamicState
DYNAMIC_STATE_STENCIL_COMPARE_MASK , "STENCIL_COMPARE_MASK")
, (DynamicState
DYNAMIC_STATE_STENCIL_WRITE_MASK , "STENCIL_WRITE_MASK")
, (DynamicState
DYNAMIC_STATE_STENCIL_REFERENCE , "STENCIL_REFERENCE")
, (DynamicState
DYNAMIC_STATE_STENCIL_OP_EXT , "STENCIL_OP_EXT")
, (DynamicState
DYNAMIC_STATE_STENCIL_TEST_ENABLE_EXT , "STENCIL_TEST_ENABLE_EXT")
, (DynamicState
DYNAMIC_STATE_DEPTH_BOUNDS_TEST_ENABLE_EXT , "DEPTH_BOUNDS_TEST_ENABLE_EXT")
, (DynamicState
DYNAMIC_STATE_DEPTH_COMPARE_OP_EXT , "DEPTH_COMPARE_OP_EXT")
, (DynamicState
DYNAMIC_STATE_DEPTH_WRITE_ENABLE_EXT , "DEPTH_WRITE_ENABLE_EXT")
, (DynamicState
DYNAMIC_STATE_DEPTH_TEST_ENABLE_EXT , "DEPTH_TEST_ENABLE_EXT")
, (DynamicState
DYNAMIC_STATE_VERTEX_INPUT_BINDING_STRIDE_EXT , "VERTEX_INPUT_BINDING_STRIDE_EXT")
, (DynamicState
DYNAMIC_STATE_SCISSOR_WITH_COUNT_EXT , "SCISSOR_WITH_COUNT_EXT")
, (DynamicState
DYNAMIC_STATE_VIEWPORT_WITH_COUNT_EXT , "VIEWPORT_WITH_COUNT_EXT")
, (DynamicState
DYNAMIC_STATE_PRIMITIVE_TOPOLOGY_EXT , "PRIMITIVE_TOPOLOGY_EXT")
, (DynamicState
DYNAMIC_STATE_FRONT_FACE_EXT , "FRONT_FACE_EXT")
, (DynamicState
DYNAMIC_STATE_CULL_MODE_EXT , "CULL_MODE_EXT")
, (DynamicState
DYNAMIC_STATE_LINE_STIPPLE_EXT , "LINE_STIPPLE_EXT")
, (DynamicState
DYNAMIC_STATE_FRAGMENT_SHADING_RATE_KHR , "FRAGMENT_SHADING_RATE_KHR")
, (DynamicState
DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV , "EXCLUSIVE_SCISSOR_NV")
, (DynamicState
DYNAMIC_STATE_VIEWPORT_COARSE_SAMPLE_ORDER_NV , "VIEWPORT_COARSE_SAMPLE_ORDER_NV")
, (DynamicState
DYNAMIC_STATE_VIEWPORT_SHADING_RATE_PALETTE_NV , "VIEWPORT_SHADING_RATE_PALETTE_NV")
, (DynamicState
DYNAMIC_STATE_RAY_TRACING_PIPELINE_STACK_SIZE_KHR, "RAY_TRACING_PIPELINE_STACK_SIZE_KHR")
, (DynamicState
DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT , "SAMPLE_LOCATIONS_EXT")
, (DynamicState
DYNAMIC_STATE_DISCARD_RECTANGLE_EXT , "DISCARD_RECTANGLE_EXT")
, (DynamicState
DYNAMIC_STATE_VIEWPORT_W_SCALING_NV , "VIEWPORT_W_SCALING_NV")
]
instance Show DynamicState where
showsPrec :: Int -> DynamicState -> ShowS
showsPrec = String
-> [(DynamicState, String)]
-> String
-> (DynamicState -> Int32)
-> (Int32 -> ShowS)
-> Int
-> DynamicState
-> ShowS
forall a i.
Eq a =>
String
-> [(a, String)]
-> String
-> (a -> i)
-> (i -> ShowS)
-> Int
-> a
-> ShowS
enumShowsPrec String
enumPrefixDynamicState
[(DynamicState, String)]
showTableDynamicState
String
conNameDynamicState
(\(DynamicState x :: Int32
x) -> Int32
x)
(Int -> Int32 -> ShowS
forall a. Show a => Int -> a -> ShowS
showsPrec 11)
instance Read DynamicState where
readPrec :: ReadPrec DynamicState
readPrec = String
-> [(DynamicState, String)]
-> String
-> (Int32 -> DynamicState)
-> ReadPrec DynamicState
forall i a.
Read i =>
String -> [(a, String)] -> String -> (i -> a) -> ReadPrec a
enumReadPrec String
enumPrefixDynamicState [(DynamicState, String)]
showTableDynamicState String
conNameDynamicState Int32 -> DynamicState
DynamicState