D3DXGetShaderSize function

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

Syntax

UINT D3DXGetShaderSize(
  _In_ const DWORD *pFunction
);

Parameters

pFunction [in]

Type: const DWORD*

Pointer to the function DWORD stream.

Return value

Type: UINT

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

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

Shader Functions