GetConstantDesc and samplers

Started by
-1 comments, last by dmatter 17 years, 1 month ago
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

This topic is closed to new replies.

Advertisement