Hi guys,
right now I'm having a small problem, in the command from the device context called VSSetConstantBuffers, the parameters are as following:
void VSSetConstantBuffers(
[in] UINT StartSlot,
[in] UINT NumBuffers,
[in] ID3D11Buffer *const *ppConstantBuffers
);
Now the number of buffers is easy when you have two arrays of constant buffers, but the ID3D11Buffer *const *ppConstantBuffers isn't so easy. My first approach was to combine the two arrays of ID3D11Buffer*(s), but that could become quite slow as this is called quite frequent. So is there a quick way to send two arrays of buffers, maybe call the function twice and change the startslot?
So how can i do this?
Thank You