texture method

Texture texture(
  1. LocalId id
)

The live texture for resource id, realized and memoized on first use.

Implementation

gpu.Texture texture(LocalId id) =>
    _textures[id] ??= tagResourceOrigin(_buildTexture(id), document, id);