colorFormats property

Iterable<GPUTextureFormat>? get colorFormats

Implementation

Iterable<GPUTextureFormat>? get colorFormats {
  final ret = js_util.getProperty(this, 'colorFormats');

  return ret == null ? null : GPUTextureFormat.fromValues(ret);
}
set colorFormats (Iterable<GPUTextureFormat>? newValue)

Implementation

set colorFormats(Iterable<GPUTextureFormat>? newValue) {
  js_util.setProperty(this, 'colorFormats', newValue?.map((e) => e.value));
}