ShaderLoader.GetShaderVersion(GraphicsStream) Method (Microsoft.DirectX.Direct3D)

Returns the version of the compiled shader.

Definition

Visual Basic Public Shared Function GetShaderVersion( _
    ByVal function As GraphicsStream _
) As VersionLeave Site
C# public static VersionLeave Site GetShaderVersion(
    GraphicsStream function
);
C++ public:
static VersionLeave SiteGetShaderVersion(
    GraphicsStreamfunction
);
JScript public static function GetShaderVersion(
    function : GraphicsStream
) : VersionLeave Site;

Parameters

function Microsoft.DirectX.GraphicsStream
A GraphicsStream object that represents a pointer to the shader function stream.

Return Value

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