<gl-buffer> ( target data hint -- id )


Vocabulary
opengl

Definition
USING: alien kernel opengl.gl ;

IN: opengl

: <gl-buffer> ( target data hint -- id )
pick gen-gl-buffer [
[ [ [ byte-length ] keep ] dip glBufferData ]
with-gl-buffer
] keep ;