Add SetParameter method for effects

Sets an uniform variable in the shader program.