D3DXGetShaderSize

Returns the size of the shader byte code, in bytes.

UINT D3DXGetShaderSize(
  CONST DWORD * pFunction
);

Parameters

pFunction
[in] Pointer to the function DWORD stream.

Return Values

Returns the size of the shader byte code, in bytes.

Requirements

Header: Declared in D3dx9shader.h.