Freigeben über


D3DM_STRETCHRECT (Windows CE 5.0)

Send Feedback

This structure contains the contents of the D3DMOP_STRETCHRECT command token (see D3DM_OPERATION), which informs the driver that should copy pixels from one surface to another and, if necessary, performing stretch operation in the process.

typedef struct _D3DM_STRETCHRECT {  ULONG SourceId;  RECT SourceRect;  ULONG DestId;  RECT DestRect;  D3DMTEXTUREFILTERTYPE Filter;} D3DM_STRETCHRECT, * LPD3DM_STRETCHRECT;

Members

  • SourceId
    A ULONG value containing the address of the source surface.
  • SourceRect
    A RECT structure that specifies which part of the source surface the driver should copy.
  • DestId
    A ULONG value containing the address of the destination surface.
  • DestRect
    A RECT structure that specifies the area on the destination surface that data from SourceRect will be copied to. If the areas specified by SourceRect and DestRect do not have the same dimensions then the driver must perform a stretch operation to fit the source data to the destination.
  • Filter
    An element of the D3DMTEXTUREFILTERTYPE that specifies the type of mipmap filtering the driver should use.

Remarks

Direct3D Mobile drivers must support stretch operations between two surfaces with identical formats.

Requirements

OS Versions: Windows CE 5.0
Header: D3dmddk.h.

See Also

Direct3D Mobile Driver Structures | D3DM_OPERATION | RECT | D3DMTEXTUREFILTERTYPE

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.