Documentation

UI::DrawList

Class

A drawing list for a layer on the UI.

Methods

void PushClipRectFullScreen()

Pushes a fullscreen scissoring rectangle to the stack.

void PopClipRect()

Pops a previously pushed scissoring rectangle to the stack.

void AddImage(UI::Texture@ texture, const vec2&in pos, const vec2&in size, uint color)

Draws a texture scaled to a specific size and blend color (in 0xRRGGBBAA hexadecimal format).

void AddImage(UI::Texture@ texture, const vec2&in pos, const vec2&in size, uint color, float rotation, const vec2&in origin = vec2(0, 0))

Draws a texture scaled to a specific size, blend color (in 0xRRGGBBAA hexadecimal format), and rotation around an origin.