blob: f4cf48e7415d824ad2dd2eb82f3dc3b76b9046b2 [file]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
[
NoInterfaceObject,
DoNotCheckConstants,
SetWrapperReferenceFrom=canvas,
] interface WebGLGetBufferSubDataAsync {
[CallWith=ScriptState] Promise<ArrayBufferView> getBufferSubDataAsync(GLenum target, GLintptr srcByteOffset, ArrayBufferView dstData, optional GLuint dstOffset = 0, optional GLuint length = 0);
};