Closed Anecoz closed 11 months ago
Currently the scene ubo uses one uint32 per enabled feature, basically as a bool. The current number of these "bools" could easily fit in a single 32 bit int.
A list of bit flags needs to be maintained both on CPU and GPU.
Currently the scene ubo uses one uint32 per enabled feature, basically as a bool. The current number of these "bools" could easily fit in a single 32 bit int.
A list of bit flags needs to be maintained both on CPU and GPU.