vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::UIImage Struct Reference

A filled quad drawn over its element's resolved rect. More...

#include <ui_image.h>

Public Attributes

glm::vec4 color = {1.0f, 1.0f, 1.0f, 1.0f}
 Straight (non-premultiplied) RGBA tint.
UIShape shape
TextureHandle texture
 Picture stretched over the rect; none draws the tint alone.

Detailed Description

A filled quad drawn over its element's resolved rect.

A texture, if set, is stretched over the rect and multiplied by the tint.

Member Data Documentation

◆ shape

UIShape Vkm::Engine::UIImage::shape

Corners, edge and fade; flat at its defaults.


The documentation for this struct was generated from the following file: