chromium/third_party/blink/renderer/modules/webgpu/gpu_texture_usage.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 GPUTextureUsageFlags;
[
    Exposed=(Window, Worker),
    SecureContext
] namespace GPUTextureUsage {
    const GPUFlagsConstant COPY_SRC = 1;
    const GPUFlagsConstant COPY_DST = 2;
    const GPUFlagsConstant TEXTURE_BINDING = 4;
    const GPUFlagsConstant STORAGE_BINDING = 8;
    const GPUFlagsConstant RENDER_ATTACHMENT = 16;
};