UNPKG
apl-easy-gl
Version:
latest (0.4.0)
0.4.0
0.3.1
0.3.0
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
Various easy WebGL helper functions
github.com/andrewlowndes/easy-gl
andrewlowndes/easy-gl
apl-easy-gl
/
lib
/
WebGL
/
createBuffer.d.ts
4 lines
(3 loc)
•
233 B
TypeScript
View Raw
1
2
3
4
import
{
TypedArray
}
from
"../Interfaces/TypedArray"
;
import
{
Buffer
}
from
"../Interfaces/Buffer"
;
export
declare
function
createBuffer
(
gl
:
WebGLRenderingContext
,
data
:
TypedArray
,
itemSize
:
number
,
drawMode
?:
number
):
Buffer
;