colorFormats property
Iterable<GPUTextureFormat> ?
colorFormats
Implementation
Iterable<GPUTextureFormat>? get colorFormats {
final ret = js_util.getProperty(this, 'colorFormats');
return ret == null ? null : GPUTextureFormat.fromValues(ret);
}
Implementation
set colorFormats(Iterable<GPUTextureFormat>? newValue) {
js_util.setProperty(this, 'colorFormats', newValue?.map((e) => e.value));
}