The DDBLTFX structure passes raster operations, effects, and override information to the IDirectDrawSurface3::Blt method. This structure is also part of the DDBLTBATCH structure used with the IDirectDrawSurface3::BltBatch method.
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;
DWORD dwFillPixel;
LPDIRECTDRAWSURFACE lpDDSPattern;
};
DDCOLORKEY ddckDestColorkey;
DDCOLORKEY ddckSrcColorkey;
} DDBLTFX,FAR* LPDDBLTFX;
DDBLTFX_ARITHSTRETCHY | |
Uses arithmetic stretching along the y-axis for this blit. | |
DDBLTFX_MIRRORLEFTRIGHT | |
Turns the surface on its y-axis. This blit mirrors the surface from left to right. | |
DDBLTFX_MIRRORUPDOWN | |
Turns the surface on its x-axis. This blit mirrors the surface from top to bottom. | |
DDBLTFX_NOTEARING | |
Schedules this blit to avoid tearing. | |
DDBLTFX_ROTATE180 | |
Rotates the surface 180 degrees clockwise during this blit. | |
DDBLTFX_ROTATE270 | |
Rotates the surface 270 degrees clockwise during this blit. | |
DDBLTFX_ROTATE90 | |
Rotates the surface 90 degrees clockwise during this blit. | |
DDBLTFX_ZBUFFERBASEDEST | |
Adds the dwZBufferBaseDest member to each of the source z-values before comparing them with the destination z-values during this z-blit. | |
DDBLTFX_ZBUFFERRANGE | |
Uses the dwZBufferLow and dwZBufferHigh members as range values to specify limits to the bits copied from a source surface during this z-blit. |
Windows NT: Use version 4.0 or later.
Windows: Use Windows 95 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in ddraw.h.