Développer Réduire

D3DDDIARG_COLORFILL structure

The D3DDDIARG_COLORFILL structure describes the parameters of a color-fill operation.

Syntax


typedef struct _D3DDDIARG_COLORFILL {
  HANDLE                hResource;
  UINT                  SubResourceIndex;
  RECT                  DstRect;
  D3DCOLOR              Color;
  D3DDDI_COLORFILLFLAGS Flags;
} D3DDDIARG_COLORFILL;

Members

hResource

[in] A handle to the resource.

SubResourceIndex

[in] The zero-based index into the resource, which is specified by the handle in the hResource member. This index indicates the subresource, or surface, on which a rectangular area is color-filled.

DstRect

[in] A RECTL structure that indicates the upper-left and lower-right points of a rectangle on the surface to color fill.

Color

A D3DCOLOR data type for the A8R8G8B8 fill color.

Flags

[in] A D3DDDI_COLORFILLFLAGS structure that identifies the type of color-fill operation to perform.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

ColorFill
D3DDDI_COLORFILLFLAGS
RECTL

 

 

Send comments about this topic to Microsoft

Afficher:
© 2014 Microsoft