Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The StateSet function sets a state block.
Syntax
PFND3DDDI_STATESET Pfnd3dddiStateset;
HRESULT Pfnd3dddiStateset(
HANDLE hDevice,
D3DDDIARG_STATESET *unnamedParam2
)
{...}
Parameters
hDevice
A handle to the display device (graphics context).
unnamedParam2
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
| Requirement | Value |
|---|---|
| Minimum supported client | Available in Windows Vista and later versions of the Windows operating systems. |
| Target Platform | Desktop |
| Header | d3dumddi.h (include D3dumddi.h) |