BaseEffect.SetValue Method ()
Sets the value of an arbitrary parameter or annotation, including simple types, structures, arrays, strings, shaders, and textures.
Overload List
public void SetValue(EffectHandle, BaseTexture); |
public void SetValue(EffectHandle, bool); |
public void SetValue(EffectHandle, bool[]); |
public void SetValue(EffectHandle, ColorValue); |
public void SetValue(EffectHandle, ColorValue[]); |
public void SetValue(EffectHandle, GraphicsStream); |
public void SetValue(EffectHandle, int); |
public void SetValue(EffectHandle, int[]); |
public void SetValue(EffectHandle, Matrix); |
public void SetValue(EffectHandle, Matrix[]); |
public void SetValue(EffectHandle, float); |
public void SetValue(EffectHandle, float[]); |
public void SetValue(EffectHandle, string); |
public void SetValue(EffectHandle, Vector4); |
public void SetValue(EffectHandle, Vector4[]); |
public void SetValue(EffectHandle, void, int); |
Remarks
This method can be used in place of nearly all of the Set* methods in BaseEffect.
Exceptions
InvalidCallException
The call is invalid.