GPURenderPassColorAttachment constructor
GPURenderPassColorAttachment({
- required GPUTextureView view,
- GPUTextureView? resolveTarget,
- dynamic clearValue,
- required GPULoadOp loadOp,
- required GPUStoreOp storeOp,
Implementation
factory GPURenderPassColorAttachment(
{required GPUTextureView view,
GPUTextureView? resolveTarget,
dynamic clearValue,
required GPULoadOp loadOp,
required GPUStoreOp storeOp}) =>
GPURenderPassColorAttachment._(
view: view,
resolveTarget: resolveTarget ?? undefined,
clearValue: clearValue ?? undefined,
loadOp: loadOp.value,
storeOp: storeOp.value);