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 VersionC# public static Version GetShaderVersion(
GraphicsStream function
);C++ public:
static Version^ GetShaderVersion(
GraphicsStream^ function
);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 object that represents the shader version.