Partager via


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;

Constants

  • DXTET_PERIODIC
    Transform output at Progress = 1.0 is the same as 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::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 one input and DXTET_MORPH with two inputs.

Periodic transforms can be looped to simulate animation.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl