vulkan-3.23: Bindings to the Vulkan graphics API.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Vulkan.Internal.Utils

Synopsis

Documentation

enumReadPrec Source #

Arguments

:: Read i 
=> String

The common constructor prefix

-> [(a, String)]

The table of values to constructor suffixes

-> String

The newtype constructor name

-> (i -> a)

The newtype constructor

-> ReadPrec a 

The common bits of enumeration and bitmask read instances

enumShowsPrec Source #

Arguments

:: Eq a 
=> String

The common constructor prefix

-> [(a, String)]

A table of values to constructor suffixes

-> String

The newtype constructor name

-> (a -> i)

Unpack the newtype

-> (i -> ShowS)

Show the underlying value

-> Int 
-> a 
-> ShowS 

The common bits of enumeration and bitmask show instances

traceAroundEvent :: String -> IO a -> IO a Source #

Wrap an IO action with a pair of traceEventIO using the specified message with "begin" or "end" appended.