public void SetParameter(string name, float val) { if (effect == null) { return; } effect.SetUniform(name, val); }