I know you can record D3D11 instructions via deferred device context in command buffers which can then be replayed by the immediate context. But how does this work for buffers?
Lets say I need to do the following to render a single model:
Update the model buffer.
Bind the model buffer.
Bind the SRVs.
Bind the input layout.
Draw the model.
Is it possible to concatenate multiple such sequences of commands before replaying? Or do I have to replay after only one sequence, because each sequence re-updates the buffer data?
How many threads with each their own deferred context does one normally set loose on the models? Does one still use the immediate context for direct model rendering, or does it only replay commands?
↧