Share via


VertexShader.GetFunction() Method (Microsoft.DirectX.Direct3D)

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

ArgumentExceptionLeave 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.