Documentation

UI::Image

Function

void UI::Image(Texture@ texture)

An image.

UI::Texture@ texture

void UI::Image(Texture@ texture, const vec2&in size)

An image scaled to a specific size.

UI::Texture@ texture

vec2 size