Sign in to follow this  
n3Xus

[DX10] GetTechniqueByIndex-how are they indexed?

Recommended Posts

If I use the ID3D10Effect->GetTechniqueByIndex(i), which technique will by indexed as 0,1,2,..? is this decided by the order by which they are written in the .fx file?

Share this post


Link to post
Share on other sites
I look like that Direct3D 10 still behaves this way. But as it s not documented I would not count on this. It may be changed with future releases. GetTechniqueByIndex is there to support reflection in the case you don’t know the names of the techniques in the FX file.

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