D3DDDIARG_PRESENTSURFACE structure

Describes a surface to display.

Syntax

typedef struct D3DDDIARG_PRESENTSURFACE {
  HANDLE hResource;
  UINT   SubResourceIndex;
} D3DDDIARG_PRESENTSURFACE;

Members

hResource

[in] A handle to the resource that contains the surface. hResource can be NULL if the user-mode display driver should perform a color-fill operation to the screen.

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 to display.

Requirements

   
Minimum supported client Windows 8.1,WDDM 1.3 and later
Minimum supported server Windows Server 2012 R2
Header d3dumddi.h (include D3d10umddi.h)

See Also

Present