D3DXGetShaderVersion

Returns the shader version of the compiled shader.

DWORD D3DXGetShaderVersion(
  CONST DWORD* pFunction
);

Parameters

pFunction
[in] Pointer to the function DWORD stream.

Return Values

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

Requirements

Header: Declared in D3dx9shader.h.