United States (English)
Canada (English)
Canada (Français)
España (Español)
France (Français)
Italia (Italia)
United Kingdom (English)
United States (English)
Forums
Hi,
Visitor
Sign In
Home
Quick Start Guide
News
Membership
Games
Games Catalog
Submit Game
Review Game
Creators
My Profile
My Business
Community
Forums
Community Spotlight
Community Resources
Education
Getting Started
Education Catalog
Starter Kits
Utilities
Resources
FAQ
Partners
Download
Feedback
Press Site
community forums
XNA Community Forums
»
DirectX
»
Direct3D 10
»
CBuffer slot
More Search Options
|
My Discussions
|
Active Topics
|
Not Read
Page 1 of 1 (2 items)
Sort Posts:
Oldest to newest
Newest to oldest
Previous
Next
CBuffer slot
Last post 08-29-2008 6:53 PM by
SirKnightTG
. 1 replies.
08-29-2008 6:13 PM
SirKnightTG
Posts
15
CBuffer slot
Reply
Quote
Is it possible using the shader reflection API to get the slots each constant buffer used in a shader is bound to? I thought that would be in D3D10_SHADER_BUFFER_DESC but it's not and I can't find it anywhere else. I'm not using Effects.
08-29-2008 6:53 PM
In reply to
SirKnightTG
Posts
15
Re: CBuffer slot
Reply
Quote
Hmm, looks like I have to iterate through all resources using GetResourceBindingDesc and compare names and once I have a match, BindPoint is the slot number I need. Ugh. What a lame way to get a buffer's bound slot.
Page 1 of 1 (2 items)
Previous
Next
© 2008 Microsoft Corporation. All rights reserved.
Terms of Use
Privacy Statement
Code of Conduct
Feedback