Constant veloren_voxygen::render::pipelines::ui::UI_IMAGE_FORMAT

source ยท
const UI_IMAGE_FORMAT: TextureFormat;
Expand description

The format of textures that the UI sources image data from.

Note, the is not directly used in all relevant locations, but still helps to more clearly document the that this is the format being used. Notably, textures are created via renderer.create_dynamic_texture(...) and renderer.create_texture(&DynamicImage::ImageRgba(image), ...) (TODO: update if we have to refactor when implementing the RENDER_ATTACHMENT usage).