Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The DDBLTFXstructure passes raster operations, effects, and override information to the IDirectDrawSurface5::Bltmethod.
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 ; } DUMMYUNIONNAMEN(1); DWORD dwZSrcConstBitDepth ; union { DWORD dwZSrcConst ; LPDIRECTDRAWSURFACE lpDDSZBufferSrc ; } DUMMYUNIONNAMEN(2); DWORD dwAlphaEdgeBlendBitDepth ; DWORD dwAlphaEdgeBlend ; DWORD dwReserved ; DWORD dwAlphaDestConstBitDepth ; union { DWORD dwAlphaDestConst ; LPDIRECTDRAWSURFACE lpDDSAlphaDest ; } DUMMYUNIONNAMEN(3); DWORD dwAlphaSrcConstBitDepth; union { DWORD dwAlphaSrcConst ; LPDIRECTDRAWSURFACE lpDDSAlphaSrc ; } DUMMYUNIONNAMEN(4); union { DWORD dwFillColor ; DWORD dwFillDepth ; DWORD dwFillPixel ; LPDIRECTDRAWSURFACE lpDDSPattern ; } DUMMYUNIONNAMEN(5); DDCOLORKEY ddckDestColorkey ; DDCOLORKEY ddckSrcColorkey ; } DDBLTFX,FAR* LPDDBLTFX;
Members
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 dwZBufferBaseDestmember to each of the source Z-values before comparing them with the destination Z-values during this Z-blit. |
DDBLTFX_ZBUFFERRANGE | Uses the dwZBufferLowand dwZBufferHighmembers as range values to specify limits to the bits copied from a source surface during this Z-blit. |
Remarks
The unions in this structure have been updated to work with compilers that don't support nameless unions. If your compiler doesn't support nameless unions, define the NONAMELESSUNION token before including the Ddraw.h header file.
Requirements
Runs on | Versions | Declared in |
---|---|---|
Windows CE OS | 2.12 or later. Version 2.12 requires DXPAK 1.0 or later. | ddraw.h |