CapturedResource constructor

CapturedResource({
  1. required String key,
  2. required int passIndex,
  3. String? debugName,
  4. int width = 0,
  5. int height = 0,
  6. PixelFormat? format,
  7. int sampleCount = 1,
  8. StorageMode? storageMode,
  9. bool isTexture = true,
  10. int? byteLength,
  11. Texture? snapshot,
  12. Texture? thumbnail,
  13. bool snapshotFailed = false,
})

Implementation

CapturedResource({
  required this.key,
  required this.passIndex,
  this.debugName,
  this.width = 0,
  this.height = 0,
  this.format,
  this.sampleCount = 1,
  this.storageMode,
  this.isTexture = true,
  this.byteLength,
  this.snapshot,
  this.thumbnail,
  this.snapshotFailed = false,
});