chromium/third_party/blink/renderer/modules/webgpu/gpu_extent_3d_dict.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/

dictionary GPUExtent3DDict {
    required GPUIntegerCoordinate width;
    GPUIntegerCoordinate height = 1;
    GPUIntegerCoordinate depthOrArrayLayers = 1;

    // Not part of the GPUExtent3DDict IDL. Included to aid in catching a
    // common mistake of attempting to use depth instead of depthOrArrayLayers.
    any depth;
};