VertexShader.GetFunction Method

Language:

Retrieves an array that contains shader data.

Definition

Visual Basic Public Function GetFunction() As Integer()
C# public int[] GetFunction();
C++ public:
array<int>^ GetFunction();
JScript public function GetFunction() : int[];

Return Value

System.Int32[]
Array that contains the shader data.

Remarks

Exceptions
ArgumentException Leave Site An error occurred while trying to retrieve the shader data.
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