Resource binding
When using an effect, the shaders expect certain resources to be available, including:
- textures and buffers
- constant buffers
It exposes the , which has to be set as pipeline state,and allows to fill constant buffers and bind resources based on a .
Manual resource binding
When more optimized code is required (eg in the rendering pipeline), constant buffer updates and resource binding can be done manually.