| // 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. |
| |
| // https://www.khronos.org/registry/webgl/extensions/WEBGL_get_buffer_sub_data_async/ |
| |
| [ |
| DependentLifetime, |
| NoInterfaceObject, |
| DoNotCheckConstants |
| ] interface WebGLGetBufferSubDataAsync { |
| [CallWith=ScriptState] Promise<ArrayBufferView> getBufferSubDataAsync(GLenum target, GLintptr srcByteOffset, ArrayBufferView dstData, optional GLuint dstOffset = 0, optional GLuint length = 0); |
| }; |