ID3DXTextureShader::GetFunction method

Gets a pointer to the function DWORD stream.

Syntax

HRESULT GetFunction(
  [in] LPD3DXBUFFER *ppFunction
);

Parameters

ppFunction [in]

Type: LPD3DXBUFFER*

A pointer to the function DWORD stream. See ID3DXBuffer.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DXERR_INVALIDDATA.

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

ID3DXTextureShader