D3DXEFFECTINSTANCE structure

Data type for managing a set of default effect parameters.

Syntax

typedef struct D3DXEFFECTINSTANCE {
  LPSTR               pEffectFilename;
  DWORD               NumDefaults;
  LPD3DXEFFECTDEFAULT pDefaults;
} D3DXEFFECTINSTANCE, *LPD3DXEFFECTINSTANCE;

Members

pEffectFilename

Type: LPSTR

Name of the effect file.

NumDefaults

Type: DWORD

Number of default parameters.

pDefaults

Type: LPD3DXEFFECTDEFAULT

Pointer to an array of D3DXEFFECTDEFAULT elements, each of which contains an effect parameter.

Requirements

Requirement Value
Header
D3dx9mesh.h

See also

Effect Structures