• Advertisement
Sign in to follow this  

GetConstantDesc and samplers

This topic is 4003 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

From reading through the D3D9 docs about the ID3DXCONSTANTTABLE interface and particularly the GetConstantDesc member there is a bit in remarks that says this:
Quote:
Because a sampler can appear more than once in a constant table, this method can return an array of descriptions, each one with a different register index.
I just dont understand it basically. No-one ever seems to try and retrieve more than one description about the same sampler, perhaps because they have a-priori knowledge it'll only be there once? So far the only useful piece of information ive found about this is here from ATI. I'd really like to know when and how a sampler could appear more than once in the constant-table and what to do if/when it does. Thanks in advance David

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement