Function re_viewer_context::gpu_bridge::try_get_or_create_texture
source · pub fn try_get_or_create_texture<'a, Err: Display>(
render_ctx: &RenderContext,
texture_key: u64,
try_create_texture_desc: impl FnOnce() -> Result<ImageDataDesc<'a>, Err>
) -> Result<GpuTexture2D, TextureManager2DError<Err>>