Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Basic question about Shader resources

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
No replies to this topic

#1 SamiHuutoniemi   Members   

259
Like
0Likes
Like

Posted 06 December 2012 - 09:47 AM

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?




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.