Hi guys,
I'm working with Directx 11 shaders.
Is it more efficient to create a single class that handles the responsibilities of all shaders, or use individual classes for each independent shader?
In my own experience, I've used a single class, which works reasonably well, but makes it much harder to send different information to each shader.
Which approach is more efficient for typical DirectX 11 applications?
Thank You






