blob: b9aa30f1fff5c19f4176270df051d126de745653 [file] [log] [blame]
// Copyright 2020 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/#typedefdef-gpumapmodeflags
typedef [EnforceRange] unsigned long GPUMapModeFlags;
[
Exposed=(Window, Worker),
SecureContext
] namespace GPUMapMode {
const GPUFlagsConstant READ = 0x0001;
const GPUFlagsConstant WRITE = 0x0002;
};