typedef struct _DDOVERLAYFX{
DWORD dwSize;
DWORD dwAlphaEdgeBlendBitDepth;
DWORD dwAlphaEdgeBlend;
DWORD dwReserved;
DWORD dwAlphaDestConstBitDepth;
union
{
DWORD dwAlphaDestConst;
LPDIRECTDRAWSURFACE lpDDSAlphaDest;
};
DWORD dwAlphaSrcConstBitDepth;
union
{
DWORD dwAlphaSrcConst;
LPDIRECTDRAWSURFACE lpDDSAlphaSrc;
};
DDCOLORKEY dckDestColorkey;
DDCOLORKEY dckSrcColorkey;
DWORD dwDDFX;
DWORD dwFlags;
} DDOVERLAYFX,FAR *LPDDOVERLAYFX;
Passes override information to the IDirectDrawSurface::UpdateOverlay method.
Size of the structure. This must be initialized before the structure is used.
Bit depth used to specify the constant for an alpha edge blend.
Constant to use as the alpha for an edge blend.
Reserved for future use.
Bit depth used to specify the alpha constant for a destination.
Constant to use as the alpha channel for a destination.
Address of a surface to use as the alpha channel for a destination.
Bit depth used to specify the alpha constant for a source.
Constant to use as the alpha channel for a source.
Address of a surface to use as the alpha channel for a source.
Destination color key override.
Source color key override.
Overlay FX flags.I
If stretching, use arithmetic stretching along the y-axis for this overlay.
Mirror the overlay around the vertical axis.
Mirror the overlay around the horizontal axis.
This member is not used at this time and must be set to 0.