wgpu-hs-0.3.0.0: WGPU
Safe HaskellNone
LanguageHaskell2010

WGPU.GLFW.Surface

Contents

Description

 
Synopsis

Functions

createSurface #

Arguments

:: MonadIO m 
=> Instance

API instance.

-> Window

GLFW window for which the surface will be created.

-> m Surface

IO action to create the surface.

Create a WGPU Surface for a GLFW Window.

This function is not part of the wgpu-native API, but is part of the Haskell API until the native WGPU API has a better story around windowing.