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;

Elements

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.

See Also

IDXSurfaceModifier::GetCompsiteOperation, IDXSurfaceModifier::SetCompsiteOperation


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