Binding

There is a group of binding functions, one for each shadertype. They are all in the form of *SetShader where * is the type of shader. The possible shaders are VS, PS, DS, GS and HS.

*SetShader

Set the shader to use for the selected stage. Pass NULL to disable the shader for the stage.

*SetShaderResources

*SetSamplers

*SetConstantBuffers

IASetInputLayout

Abuse the immediate constant buffer! - 2016