cgSetParameterValuefc question

Started by
-1 comments, last by amigocz 15 years, 5 months ago
Hi, I've got a structure in my vertex shader containing only floats like this one struct particle { float3 position; float4 color; float size; }; and I would like to ask if I can fill this structure using the void cgSetParameterValuefc( CGparameter param, int nelements, const float * v ); function. It doesn't work for me but I think that it should be possible since this structure contains only float varibles.

This topic is closed to new replies.

Advertisement