Modules
Structs
- A painter backend which convert
PaintCommands
to triangles and texture, then submit to the gl. - A texture for the vertexes sampler color. Every texture have identify to help reuse gpu texture in adjacent frames. The
id
is a cycle increase number, so it’s always unique if the textures count is not over theusize::MAX
! in an application lifetime. - The triangle lists data and the commands to describe how to draw it.
- We use a texture atlas to shader vertices, even if a pure color path.
Enums
Traits
- GlRender support draw triangles to the devices.