glamour ~master (2016-10-05T19:20:26Z)
Home
Dub
Repo
ElementBuffer.set_data
glamour
vbo
ElementBuffer
Uploads data to the GPU.
void
set_data
(T data, GLenum hint)
class
ElementBuffer
void
set_data
(
T
)
(
const
auto
ref
T
data
,
GLenum
hint
=
GL_STATIC_DRAW
)
if
(
isArray
!
T
)
void
set_data
(T ptr, size_t size, GLenum hint)
Meta
Source
See Implementation
glamour
vbo
ElementBuffer
constructors
this
destructors
~this
functions
bind
remove
set_data
unbind
update
variables
buffer
hint
length
Uploads data to the GPU.