D3DXGetShaderVersion function

Returns the shader version of the compiled shader.

Syntax


DWORD D3DXGetShaderVersion(
  _In_ const DWORD *pFunction
);

Parameters

pFunction [in]

Type: const DWORD*

Pointer to the function DWORD stream.

Return value

Type: DWORD

Returns the shader version of the given shader, or zero if the shader function is NULL.

Requirements

Header

D3DX9Shader.h

Library

D3dx9.lib

See also

Shader Functions

 

 

Show: