Function re_viewer_context::gpu_bridge::get_or_create_texture

source ·
pub fn get_or_create_texture<'a>(
    render_ctx: &RenderContext,
    texture_key: u64,
    create_texture_desc: impl FnOnce() -> ImageDataDesc<'a>
) -> Result<GpuTexture2D, ImageDataToTextureError>