Users should be able to set the values of shader uniform variables via the IRenderDevice interface. This should be done in a generic ways so that it would work for both DirectX(11) and OpenGL(3+) as well as be open to any potential optimisations, such as uniform buffer objects.
Users should be able to set the values of shader uniform variables via the
IRenderDevice
interface. This should be done in a generic ways so that it would work for both DirectX(11) and OpenGL(3+) as well as be open to any potential optimisations, such as uniform buffer objects.