Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data InstanceHandle = InstanceHandle {}
- withWGPU :: forall m r. MonadIO m => FilePath -> (m InstanceHandle -> (InstanceHandle -> m ()) -> r) -> r
Types
data InstanceHandle Source #
Functions
:: forall m r. MonadIO m | |
=> FilePath | Path to the wgpu-native dynamic library to load. |
-> (m InstanceHandle -> (InstanceHandle -> m ()) -> r) | Bracketing function.
This can (for example) be something like |
-> r | Usage or action component of the bracketing function. |
Load WGPU from a dynamic library and run a program using an instance.