DXSURFMODCOMPOP enumeration

Describes the method used by the IDXSurfaceModifier interface for compositing operations.

Syntax

typedef enum DXSURFMODCOMPOP { 
  DXSURFMOD_COMP_OVER        = 0,
  DXSURFMOD_COMP_ALPHA_MASK  = 1,
  DXSURFMOD_COMP_MAX_VALID   = 1
} DXSURFMODCOMPOP;

Constants

  • DXSURFMOD_COMP_OVER
    Flag that specifies that the foreground surface is rendered directly over the background surface.

  • DXSURFMOD_COMP_ALPHA_MASK
    Flag that specifies that the foreground surface is rendered over the background surface scaled by the background's alpha channel.

  • DXSURFMOD_COMP_MAX_VALID
    Flag used by the interface to check for valid input.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

Header

Dxtrans.h

IDL

Dxtrans.idl

See also

Reference

IDXSurfaceModifier::GetCompositeOperation

IDXSurfaceModifier::SetCompositeOperation