luminance-rs
luminance-rs copied to clipboard
Add support for buffer usage flags
trafficstars
At the moment it looks likeall OpenGL buffers are hardcoded to use GL_STREAM_DRAW. It would be nice to be able to customize this per buffer to use GL_DYNAMIC_DRAW etc.
Thank you!
What is your current need for this?
Nothing currently, I was just looking through the API to assess it for my needs. It's very minor though as it's just an optimisation hint