What is the difference between uniforms and constant buffers?
Are they completely separate or can the uniforms be seen as in a constant buffer? In other words, if you want to set a uniform, do you need a constant buffer or is there another way?
I ask because I have four variables (float2
pan, float
scale and float
rotation) that will in all likelihood not be changing at the same time. Do I need a constant buffer to set them all at once or is it better to set them individually, if possible?