ColorAttachment constructor

ColorAttachment({
  1. LoadAction loadAction = LoadAction.clear,
  2. StoreAction storeAction = StoreAction.store,
  3. Vector4? clearValue = null,
  4. required Texture texture,
  5. Texture? resolveTexture = null,
})

Implementation

ColorAttachment({
  this.loadAction = LoadAction.clear,
  this.storeAction = StoreAction.store,
  vm.Vector4? clearValue = null,
  required this.texture,
  this.resolveTexture = null,
}) : clearValue = clearValue ?? vm.Vector4.zero();