1 | import { WebGLCapabilities } from './WebGLCapabilities';
|
2 | import { BufferAttribute } from '../../core/BufferAttribute';
|
3 | import { InterleavedBufferAttribute } from '../../core/InterleavedBufferAttribute';
|
4 |
|
5 | export class WebGLAttributes {
|
6 | constructor(gl: WebGLRenderingContext | WebGL2RenderingContext, capabilities: WebGLCapabilities);
|
7 |
|
8 | get(attribute: BufferAttribute | InterleavedBufferAttribute): {
|
9 | buffer: WebGLBuffer;
|
10 | type: number;
|
11 | bytesPerElement: number;
|
12 | version: number;
|
13 | };
|
14 |
|
15 | remove(attribute: BufferAttribute | InterleavedBufferAttribute): void;
|
16 |
|
17 | update(attribute: BufferAttribute | InterleavedBufferAttribute, bufferType: number): void;
|
18 | }
|