Sign in to follow this  
dmatter

GetConstantDesc and samplers

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this