Ger83
July 15th, 2010, 16:42
Hi,
Is it possible to mark specific parameters as "shared" since I'd like to put them in a ID3DXEffectPool in my engine and this can only be done if i put the keyword "shared" infront of a parameter.
I can obviously go and do it in the .fx file after I exported, but that leaves gaps for forgetting and if I have to go and re-export a shader I can forget to "mark" my parameters as "shared" again.
Regards
Is it possible to mark specific parameters as "shared" since I'd like to put them in a ID3DXEffectPool in my engine and this can only be done if i put the keyword "shared" infront of a parameter.
I can obviously go and do it in the .fx file after I exported, but that leaves gaps for forgetting and if I have to go and re-export a shader I can forget to "mark" my parameters as "shared" again.
Regards