Microsoft DirectX 8.1 (C++)

ID3DXEffect::IsParameterUsed

Determines if a parameter is used by the technique.

BOOL IsParameterUsed(
  LPCSTR pParameter
)

Parameters

pParameter
Name of parameter to check.

Return Values

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

Requirements

  Header: Declared in D3dx8effect.h.
  Import Library: Use D3dx8.lib.