heyx3 / Bplus.jl

A modern OpenGL 4.6 rendering framework, written in Julia.
Other
69 stars 3 forks source link

Support "atomic counter" uniforms #41

Open heyx3 opened 1 year ago

heyx3 commented 1 year ago

Reference: https://www.khronos.org/opengl/wiki/Atomic_Counter

Don't forget to update UNIFORM_TYPE_FROM_GL_ENUM to have a mapping for GL_UNSIGNED_INT_ATOMIC_COUNTER.

heyx3 commented 9 months ago

Atomic counters come from buffers, so we should be able to make a third variant of the code for "uniform buffers" and "storage buffers": "atomic buffers".