Open heyx3 opened 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.
UNIFORM_TYPE_FROM_GL_ENUM
GL_UNSIGNED_INT_ATOMIC_COUNTER
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".
Reference: https://www.khronos.org/opengl/wiki/Atomic_Counter
Don't forget to update
UNIFORM_TYPE_FROM_GL_ENUM
to have a mapping forGL_UNSIGNED_INT_ATOMIC_COUNTER
.