Function veloren_voxygen::ui::graphic::create_image_texture

source ยท
fn create_image_texture(
    renderer: &mut Renderer,
    size: Vec2<u32>,
    address_mode: Option<AddressMode>,
) -> (Arc<Texture>, UiTextureBindGroup)
Expand description

This creates a texture suitable for sampling from during the UI pass and rendering too during alpha premultiplication upload passes.