Function 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.