On Tue Mar 12 16:27:35 2024 +0000, Francisco Casas wrote:
Can you give me or point me to an example of these effect passes? I find it difficult to find, maybe I am not searching properly.
For fx_4+ you can find examples in d3d10/tests/effect.c. The syntax is "technique10 { pass {} }", then pass is what contains a number of entries-state changing "calls" that are applied when pass is applied. All that does is making a number of device context calls as instructed. Same exact thing for fx_2, in d3dx9_36/tests/effect.c, except that it sets individual states.