ShaderLoader.GetShaderVersion Method

Language:

Returns the version of the compiled shader.

Definition

Visual Basic Public Shared Function GetShaderVersion( _
    ByVal function As GraphicsStream _
) As Version
C# public static Version GetShaderVersion(
    GraphicsStream function
);
C++ public:
static VersionGetShaderVersion(
    GraphicsStreamfunction
);
JScript 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.


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