Device.SetVertexShaderConstant Method

Language:

Sets a vertex shader constant.

Overload List

public void SetVertexShaderConstant(int, bool[]);
public void SetVertexShaderConstant(int, int[]);
public void SetVertexShaderConstant(int, Matrix);
public void SetVertexShaderConstant(int, Matrix);
public void SetVertexShaderConstant(int, Matrix[]);
public void SetVertexShaderConstant(int, float[]);
public void SetVertexShaderConstant(int, Vector4);
public void SetVertexShaderConstant(int, Vector4);
public void SetVertexShaderConstant(int, Vector4[]);

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center