ID3DXEffect::IsParameterUsed method

Determines if a parameter is used by the technique.

Syntax

BOOL IsParameterUsed(
  [in] D3DXHANDLE hParameter,
  [in] D3DXHANDLE hTechnique
);

Parameters

hParameter [in]

Type: D3DXHANDLE

Unique identifier for the parameter. See Handles (Direct3D 9).

hTechnique [in]

Type: D3DXHANDLE

Unique identifier for the technique. See Handles (Direct3D 9).

Return value

Type: BOOL

Returns TRUE if the parameter is being used and returns FALSE if the parameter is not being used.

Requirements

Requirement Value
Header
D3DX9Effect.h
Library
D3dx9.lib

See also

ID3DXEffect