There is no way to update uniform array in a constants buffer created by render.constant_buffer()
. Would like to do this by this way:
self.constants = render.constant_buffer()
self.constants.light_colors[3] = vmath.vector4(1)
Added a feature request #6526.