Blt
Collapse the table of content
Expand the table of content
展開 最小化

StateSet routine

The StateSet function sets a state block.

Syntax


PFND3DDDI_STATESET StateSet;

__checkReturn HRESULT APIENTRY StateSet(
  _In_ HANDLE             hDevice,
  _In_ D3DDDIARG_STATESET *pData
)
{ ... }

Parameters

hDevice [in]

A handle to the display device (graphics context).

pData [in]

A pointer to a D3DDDIARG_STATESET structure that describes how to set the state block.

Return value

StateSet returns S_OK or an appropriate error result if the state block is not successfully set.

Requirements

Target platform

Desktop

Version

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

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_STATESET
D3DDDI_DEVICEFUNCS

 

 

Send comments about this topic to Microsoft

表示:
© 2015 Microsoft