sampledView property

GPUTextureView get sampledView

The view a sampler reads: the whole texture, in its own dimension.

Implementation

GPUTextureView get sampledView => _sampledView ??= texture.createView(
  GPUTextureViewDescriptor(dimension: dimension.gpuName, aspect: 'all'),
);