forked from nkronlage/JavaScripture
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebglbuffer.jsdoc
More file actions
23 lines (19 loc) · 786 Bytes
/
Copy pathwebglbuffer.jsdoc
File metadata and controls
23 lines (19 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
WebGLBuffer : Object
**WebGLBuffer** is memory
used to store data that is passed to the shader program
through attributes.
**WebGLBuffer**s are created with
%%WebGLRenderingContext#createBuffer|**createBuffer()**%%
and should be destroyed with
%%WebGLRenderingContext#deleteBuffer|**deleteBuffer()**%%
when no longer needed.
See also
%%WebGLRenderingContext#bindBuffer|**bindBuffer()**%%,
%%WebGLRenderingContext#bufferData|**bufferData()**%%,
%%WebGLRenderingContext#bufferSubData|**bufferSubData()**%%,
%%WebGLRenderingContext#isBuffer|**isBuffer()**%%,
%%WebGLRenderingContext#vertexAttribPointer|**vertexAttribPointer()**%%
and
%%WebGLRenderingContext#enableVertexAttribArray|**enableVertexAttribArray()**%%.
Spec:
http://www.khronos.org/registry/webgl/specs/latest/#5.4