cubos::engine::UIImage struct

Component used to draw images on the UI.

Public variables

Asset<Image> asset
Handle to the image asset to be rendered.
cubos::core::gl::Texture2D texture
Handle to the generated 2D texture.

Variable documentation

Asset<Image> cubos::engine::UIImage::asset

Handle to the image asset to be rendered.

When null, no image will be rendered.