chromium/third_party/blink/renderer/modules/webgpu/gpu_color_write.idl

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// https://gpuweb.github.io/gpuweb/

typedef [EnforceRange] unsigned long GPUColorWriteFlags;
[
    Exposed=(Window, Worker),
    SecureContext
] namespace GPUColorWrite {
    const GPUFlagsConstant RED = 1;
    const GPUFlagsConstant GREEN = 2;
    const GPUFlagsConstant BLUE = 4;
    const GPUFlagsConstant ALPHA = 8;
    const GPUFlagsConstant ALL = 15;
};