wgpu-raw-hs-0.2.0.0: WGPU Raw
Safe HaskellNone
LanguageHaskell2010

WGPU.Raw.Dynamic

Contents

Synopsis

Functions

withWGPU Source #

Arguments

:: FilePath

Path to the wgpu-native dynamic library to load.

-> (WGPUHsInstance -> IO a)

IO action using an instance of the WGPUHsInstance.

-> IO a

Completed IO action.

Load WGPU from a dynamic library and run a program using an instance.