D3DXGetShaderSize
Microsoft DirectX 9.0 SDK Update (October 2004)

D3DXGetShaderSize Function


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

Syntax

UINT D3DXGetShaderSize(      

    CONST DWORD *pFunction );

Parameters

pFunction
[in] Pointer to the function DWORD stream.

Return Value

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

Function Information

Headerd3dx9shader.h
Import libraryd3dx9.lib
Minimum availabilityDirectX 9.0
Minimum operating systems Windows 2000, Windows 98


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.