ColorAttachment constructor
- LoadAction loadAction = LoadAction.clear,
- StoreAction storeAction = StoreAction.store,
- Vector4? clearValue = null,
- required Texture texture,
- Texture? resolveTexture = null,
- int mipLevel = 0,
- int slice = 0,
Implementation
ColorAttachment({
this.loadAction = LoadAction.clear,
this.storeAction = StoreAction.store,
vm.Vector4? clearValue = null,
required this.texture,
this.resolveTexture = null,
this.mipLevel = 0,
this.slice = 0,
}) : clearValue = clearValue ?? vm.Vector4.zero();