| // 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); | |
| }; |