Fast Shader Parameters

Hi,

I was wondering if there was a faster way to pass material shader parameters than using Material.SetVector?

The problem is that it uses a string token to find the shader parameter. Ideally we could use a function on the material to get an integer token from our string token once and store it and then pass that in every frame instead.

Thanks,
Ryan.

Is Material.SetVector a bottleneck for you?