ID3DXBaseEffect::GetParameter method

Gets the handle of a top-level parameter or a structure member parameter.

Syntax

D3DXHANDLE GetParameter(
  [in] D3DXHANDLE hParameter,
  [in] UINT       Index
);

Parameters

hParameter [in]

Type: D3DXHANDLE

Handle of the parameter, or NULL for top-level parameters. See Handles (Direct3D 9).

Index [in]

Type: UINT

Parameter index.

Return value

Type: D3DXHANDLE

Returns the handle of the specified parameter, or NULL if the index was invalid. See Handles (Direct3D 9).

Requirements

Requirement Value
Header
D3DX9Shader.h
Library
D3dx9.lib

See also

ID3DXBaseEffect