Microsoft DirectX 9.0 SDK Update (October 2004)

ShaderLoader.GetShaderVersion Method

Language:

Note: This documentation is preliminary and is subject to change.

Returns the version of the compiled shader.

Definition

Visual Basic .NET Public Shared Function GetShaderVersion( _
    ByVal function() As Integer _
) As Version
C# public static Version GetShaderVersion(
    int[] function
);
Managed C++ public: static Version* GetShaderVersion(
    int function __gc[]
);
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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