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 GraphicsStream _
) As Version
C# public static Version GetShaderVersion(
    GraphicsStream function
);
Managed C++ public: static Version* GetShaderVersion(
    GraphicsStream *function
);
JScript .NET public static function GetShaderVersion(
    function : GraphicsStream
) : Version;

Parameters

function Microsoft.DirectX.GraphicsStream. A GraphicsStream object 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