GPUBlendComponent constructor

GPUBlendComponent({
  1. GPUBlendOperation? operation,
  2. GPUBlendFactor? srcFactor,
  3. GPUBlendFactor? dstFactor,
})

Implementation

factory GPUBlendComponent(
        {GPUBlendOperation? operation,
        GPUBlendFactor? srcFactor,
        GPUBlendFactor? dstFactor}) =>
    GPUBlendComponent._(
        operation: operation?.value ?? GPUBlendOperation.add.value,
        srcFactor: srcFactor?.value ?? GPUBlendFactor.one.value,
        dstFactor: dstFactor?.value ?? GPUBlendFactor.zero.value);