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(
  _buildTextureOrPlaceholder(id),
  document,
  id,
);