Module surface

Source
Expand description

A surface abstraction that allows the choice of backends dynamically.

Enumsยง

NativeWidget
A native widget/window type that can dynamically switch between backends.
Surface
Represents a hardware buffer of pixels that can be rendered to via the CPU or GPU and either displayed in a native widget or bound to a texture for reading.
SurfaceTexture
Represents an OpenGL texture that wraps a surface.