Skip to main content

Module config

Module config 

Source
Expand description

Configuration, builder, and error types for the wgpu backend.

WgpuBackendBuilder gathers grid size, integer scale, a FontChain, and (with the tilesets feature) any PNG sprite tilesets, then build produces a WgpuRenderer. The renderer is created without a GPU device; the device, surface, and every GPU resource are created lazily when the windowing loop calls Presenter::init_surface.

Structs§

WgpuBackendBuilder
Builder for the wgpu backend.

Enums§

WgpuBackendError
Errors from configuring the wgpu backend.