copyWith method
A copy with some fields changed.
Implementation
GpuTextureDesc copyWith({int? width, int? height, GpuFormat? format}) =>
GpuTextureDesc(
width: width ?? this.width,
height: height ?? this.height,
format: format ?? this.format,
storage: storage,
mipLevels: mipLevels,
samples: samples,
cube: cube,
renderTarget: renderTarget,
shaderRead: shaderRead,
);