luminance-rs icon indicating copy to clipboard operation
luminance-rs copied to clipboard

Add support for buffer usage flags

Open DomWilliams0 opened this issue 4 years ago • 2 comments
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!

DomWilliams0 avatar Oct 25 '21 12:10 DomWilliams0

What is your current need for this?

hadronized avatar Nov 04 '21 18:11 hadronized

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

DomWilliams0 avatar Dec 08 '21 16:12 DomWilliams0