D3DDDIARG_COLORFILL structure (d3dumddi.h)

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

Syntax

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

Members

[in] hResource

A handle to the resource.

[in] SubResourceIndex

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.

[in] DstRect

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.

[in] Flags

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

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header d3dumddi.h (include D3dumddi.h)

See also

ColorFill

D3DDDI_COLORFILLFLAGS

RECTL