Module draw

Source
Expand description

Primitives used for drawing

Structs§

Color
A color with red, green, blue and alpha components.
DrawList
A collection of data needed to render the ui.
ImageData
Reference to an image loaded by the Ui.
Patch
9 patch data on top of an Image, which is used to create dynamically stretchable images.
Vertex
The Vertex type passed to the vertex shader.

Enums§

Background
Generic background definition
Command
A draw Command that is to be translated to a draw command specific to the backend
Primitive
A high level primitive that can be drawn without any further data.
Update
An update of the available texture data. The backend is responsible for uploading the provided data to the GPU.