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