spirv-reflect-ffi-0.3: C-library loader for spirv-reflect tool.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.SpirV.Reflect.FFI.Internal

Synopsis

Documentation

data Result Source #

Instances

Instances details
Enum Result Source # 
Instance details

Defined in Data.SpirV.Reflect.FFI.Internal

Show Result Source # 
Instance details

Defined in Data.SpirV.Reflect.FFI.Internal

Eq Result Source # 
Instance details

Defined in Data.SpirV.Reflect.FFI.Internal

Methods

(==) :: Result -> Result -> Bool #

(/=) :: Result -> Result -> Bool #

Ord Result Source # 
Instance details

Defined in Data.SpirV.Reflect.FFI.Internal

Loader interface

Module

Traits

Primitive types

inflateVector :: Integral i => IO i -> IO (Ptr p) -> Int -> (Ptr p -> IO a) -> IO (Vector a) Source #

inflateIntegral :: (Integral a, Num b) => IO a -> IO b Source #

inflateEnum :: (Integral a, Enum b) => IO a -> IO b Source #

inflateFlags32 :: forall a b. (Integral a, Coercible Word32 b) => IO a -> IO b Source #

inflateMaybe :: Eq b => b -> (IO a -> IO b) -> IO a -> IO (Maybe b) Source #

just :: a -> Maybe a Source #