| 25 | } |
| 26 | |
| 27 | export interface IElements { |
| 28 | /** |
| 29 | * gl.bufferSubData |
| 30 | */ |
| 31 | subData(options: { |
| 32 | // 用于替换的数据 |
| 33 | data: number[] | number[][] | Uint8Array | Uint16Array | Uint32Array; |
| 34 | // 原 Buffer 替换位置,单位为 byte |
| 35 | offset: number; |
| 36 | }): void; |
| 37 | /** |
| 38 | * gl.deleteBuffer |
| 39 | */ |
| 40 | destroy(): void; |
| 41 | } |
nothing calls this directly
no outgoing calls
no test coverage detected