GpuTextureDesc constructor
const
GpuTextureDesc({})
Describes a texture.
Implementation
const GpuTextureDesc({
required this.width,
required this.height,
this.format = GpuFormat.rgba8,
this.storage = GpuStorage.device,
this.mipLevels = 1,
this.samples = 1,
this.cube = false,
this.renderTarget = false,
this.shaderRead = true,
});