[][src]Module kas::draw

Drawing API

This module includes abstractions over the drawing API and some associated types.

All draw operations are batched and do not happen immediately. Each Style of drawing may batch operations independently of other styles or may share batching with another style. Roughly speaking, later Styles are drawn later, but draw order is implementation defined.

Structs

Colour

Standard colour description

Quad

Axis-aligned 2D cuboid, specified via two corners

Vec2

2D vector

Enums

Style

Style of drawing

Traits

Draw

Abstraction over drawing commands