Skip to main content
GameDev.net gamedev.net
🔒 Locked

Basic question about Shader resources

Started by SamiHuutoniemi Dec 6, 2012 at 3:47 PM 0 replies 1k views
Original Post
SamiHuutoniemi
SamiHuutoniemi
Hello!

Was just wondering about how shaders know which cbuffer maps to what I send in to the shader from the C++ code.

Say I have three equally sized cbuffers in a shader. Then I obviously make three calls to V/PSSetConstantBuffers. How does it know which cbuffer to put what in?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.