k82l0804 / slimdx

Automatically exported from code.google.com/p/slimdx
MIT License
0 stars 0 forks source link

Retrieval of shader inputs #557

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Add a way to get the required Vertex Declaration (DX9) or Input Layout 
(DX10/DX11) for a shader via the Effects Framework as discussed here:

http://www.gamedev.net/community/forums/topic.asp?topic_id=551282

This would come in handy in many situations.

Original issue reported on code.google.com by hazar...@gmx.net on 25 Oct 2009 at 9:23

GoogleCodeExporter commented 9 years ago
All of the API related methods mentioned in that thread should be usable from 
SlimDX.
As for a higher level method to do what you want, that doesn't really belong in
SlimDX proper. If we or someone else provides a quick implementation of a 
utility
method like this we'd look into including it alongside the SDK in a 
"Contributions"
folder, which is something we're looking into adding for future releases. 

Original comment by Mike.Popoloski on 29 Oct 2009 at 4:58