glBufferDataSlice

Convenience method for converting D arrays to opengl buffer data

I would LOVE to overload it with the original glBufferData, but D won't let me since glBufferData is a function pointer :(

Added: August 25, 2020 (version 8.5)

version(!without_opengl)
void
glBufferDataSlice
(
GLenum target
,
const(void[]) data
,
GLenum usage
)

Meta

Suggestion Box / Bug Report