DXEFFECTTYPE Enumeration

Describes the type of effect used for a particular transform.

Syntax

typedef enum DXEFFECTTYPE
{
    DXTET_PERIODIC = (1 << 0),  
    DXTET_MORPH = (1 << 1)  
} DXEFFECTTYPE;

Elements

DXTET_PERIODIC
Transform output at Progress = 1.0 is the same as the the output at Progress = 0.0.
DXTET_MORPH
Transform gradually changes the output from input 1 to input 2.

Remarks

A call to the IDXEffect::get_Capabilities method returns a value with one (or both) of these flags set. If both of these flags are set for a transform, it behaves as DXTET_PERIODIC with 1 input and DXTET_MORPH with 2 inputs.

Periodic transforms can be looped to simulate animation.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.