typedef struct _DDBLTFX{
DWORD dwSize;
DWORD dwDDFX;
DWORD dwROP;
DWORD dwDDROP;
DWORD dwRotationAngle;
DWORD dwZBufferOpCode;
DWORD dwZBufferLow;
DWORD dwZBufferHigh;
DWORD dwZBufferBaseDest;
DWORD dwZDestConstBitDepth;
union
{
DWORD dwZDestConst;
LPDIRECTDRAWSURFACE lpDDSZBufferDest;
};
DWORD dwZSrcConstBitDepth;
union
{
DWORD dwZSrcConst;
LPDIRECTDRAWSURFACE lpDDSZBufferSrc;
};
DWORD dwAlphaEdgeBlendBitDepth;
DWORD dwAlphaEdgeBlend;
DWORD dwReserved;
DWORD dwAlphaDestConstBitDepth;
union
{
DWORD dwAlphaDestConst;
LPDIRECTDRAWSURFACE lpDDSAlphaDest;
};
DWORD dwAlphaSrcConstBitDepth;
union
{
DWORD dwAlphaSrcConst;
LPDIRECTDRAWSURFACE lpDDSAlphaSrc;
};
union
{
DWORD dwFillColor;
DWORD dwFillDepth;
LPDIRECTDRAWSURFACE lpDDSPattern;
};
DDCOLORKEY ddckDestColorkey;
DDCOLORKEY ddckSrcColorkey;
} DDBLTFX,FAR* LPDDBLTFX;
Passes raster operations, effects, and override information to the IDirectDrawSurface2::Blt method. This structure is also part of the DDBLTBATCH structure used with the IDirectDrawSurface2::BltBatch method.
Size of the structure. This member must be initialized before the structure is used.
Type of FX operations.
Uses arithmetic stretching along the y-axis for this blit.
Turns the surface on its y-axis. This blit mirrors the surface from left to right.
Turns the surface on its x-axis. This blit mirrors the surface from top to bottom.
Schedules this blit to avoid tearing.
Rotates the surface 180 degrees clockwise during this blit.
Rotates the surface 270 degrees clockwise during this blit.
Rotates the surface 90 degrees clockwise during this blit.
Adds the dwZBufferBaseDest member to each of the source z-values before comparing them with the destination z-values during this z-blit.
Uses the dwZBufferLow and dwZBufferHigh members as range values to specify limits to the bits copied from a source surface during this z-blit.
Win32 raster operations.
DirectDraw raster operations.
Rotation angle for the blit.
Z-buffer compares.
Low limit of a z-buffer.
High limit of a z-buffer.
Destination base value of a z-buffer.
Bit depth of the destination z-constant.
Constant used as the z-buffer destination.
Surface used as the z-buffer destination.
Bit depth of the source z-constant.
Constant used as the z-buffer source.
Surface used as the z-buffer source.
Bit depth of the constant for an alpha edge blend.
Alpha constant used for edge blending.
Reserved for future use.
Bit depth of the destination alpha constant.
Constant used as the alpha channel destination.
Surface used as the alpha channel destination.
Bit depth of the source alpha constant.
Constant used as the alpha channel source.
Surface used as the alpha channel source.
Color used to fill a surface when DDBLT_COLORFILL is specified. This value can be either an RGB triple or a palette index, depending on the surface type.
Depth value for the z-buffer.
Surface to use as a pattern. The pattern can be used in certain blit operations that combine a source and a destination.
Destination color key override.
Source color key override.