blob: 19bcda675eec08b807d1d79e63fd995256b68f2d [file] [log] [blame]
// 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 WebGPU, DedicatedWorker WebGPU),
SecureContext
] namespace GPUTextureUsage {
const unsigned long COPY_SRC = 1;
const unsigned long COPY_DST = 2;
const unsigned long TEXTURE_BINDING = 4;
const unsigned long STORAGE_BINDING = 8;
const unsigned long RENDER_ATTACHMENT = 16;
};