Skip to main content

Module config

Module config 

Source
Expand description

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

GlBackendBuilder gathers grid size, integer scale, a FontChain, and (with the tilesets feature) any PNG sprite tilesets, then build produces a GlRenderer. The renderer is created without a GL context; the context and GPU resources are created lazily when the windowing loop calls Presenter::init_surface.

Structs§

GlBackendBuilder
Builder for the GL backend.

Enums§

GlBackendError
Errors from configuring the GL backend.