Original Post
Hi, I was wondering if there is a function to set variables in a cgfx file that are associated with the same context. For example if these two cgfx files are associated with the same context: effect1.cgfx: effect2.cgfx: is it possible to make a call like cgSetNamedParameter( context, "ModelViewProjection", &modelViewProj ); so that for all effects with the variable "ModelViewProjection", it is set to modelViewProj? Thanks :)
float4x4 ModelViewProjection;
...
float4x4 ModelViewProjection;
...