Hello everyone!
I'm learning DirectX for 2 weeks, and I know how to create primitives, add them to the scene and apply the Shader for the whole scene.
I can't find in any book or sample anything about applying the shader on a single Mesh (not on the every Mesh).
Can you tell me how can I apply a shader to a single Mesh ? I don't want to have just 1 pixel shader for every Mesh.