Skip to content

SolidColorTextureData

15.19

Class Documentation

Edit documentation

A texture provider that gives an icon element the renderer's built-in plain white texture instead of a texture file. Set through UiElementIconData.TextureData.

The icon then draws as a flat rectangle, tinted by the icon's own Color.

There is nothing to configure: the texture is the same shared one for every icon, and the whole of it is used.