Microsoft DirectX 8.1 (C++)

ID3DXEffect::GetTechniqueDesc

Retrieves a technique associated with an effect.

HRESULT GetTechniqueDesc(
  LPCSTR              pTechnique,
  D3DXTECHNIQUE_DESC* pDesc
)

Parameters

pTechnique
[in] Name of the technique description to retrieve.
pDesc
[out, retval] Pointer to a D3DXTECHNIQUE_DESC, containing the technique description.

Return Values

If the method succeeds, the return value is S_OK.

If the method fails, the return value can be D3DERR_INVALIDCALL.

Requirements

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

See Also

D3DXTECHNIQUE_DESC, ID3DXEffect::GetTechnique