Microsoft DirectX 8.0 (C++)

ID3DXTechnique

The ID3DXTechnique interface is used to query, validate, and apply techniques.

The ID3DXTechnique interface is obtained by calling the ID3DXEffect::GetTechnique method.

The methods of the ID3DXTechnique interface can be organized into the following groups.

Effects IsParameterUsed
Information GetDevice
  GetDesc
  GetPassDesc
Validation Validate
Technique Application Begin
  End
  Pass

The ID3DXTechnique interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods.

IUnknown AddRef
  QueryInterface
  Release

The LPD3DXTECHNIQUE type is defined as a pointer to the ID3DXTechnique interface.

typedef struct ID3DXTechnique* LPD3DXTECHNIQUE;

Requirements

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