ShaderLoader.GetShaderVersion Method

Language:

Returns the version of the compiled shader.

Definition

Visual Basic Public Shared Function GetShaderVersion( _
    ByVal function() As Integer _
) As Version
C# public static Version GetShaderVersion(
    int[] function
);
C++ public:
static VersionGetShaderVersion(
    array<int>^ function
);
JScript public static function GetShaderVersion(
    function : int[]
) : Version;

Parameters

function System.Int32[]
Integer that represents a pointer to the shader function stream.

Return Value

System.Version
A Version Leave Site object that represents the shader version.


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