Hi.
If I set the constant buffer called “CB_Light” for a VERTEX shader and after set this “CB_Light” for a PIXEL shader,
this constant buffer is valid in both shaders?
like this
DeviceContext->VSSetConstantBuffers(0, 1, CB_Light.GetAddressOf());
DeviceContext->PSSetConstantBuffers(0, 1, CB_Light.GetAddressOf());
DeviceContext->Draw(..);
Is CB_Light valid in both shaders?