GPUColorTargetState constructor

GPUColorTargetState({
  1. required GPUTextureFormat format,
  2. GPUBlendState? blend,
  3. int? writeMask,
})

Implementation

factory GPUColorTargetState(
        {required GPUTextureFormat format,
        GPUBlendState? blend,
        int? writeMask}) =>
    GPUColorTargetState._(
        format: format.value,
        blend: blend ?? undefined,
        writeMask: writeMask ?? 0xF);