|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
This method is used to assign values to specific render states.
HRESULT SetRenderState( D3DMRENDERSTATETYPE State, DWORD Value );
[in] A D3DMRENDERSTATETYPEvalue that identifies the render type to set.
[in] A DWORD value containing the data associated with the render state.
This method returns D3DM_OK if it can successfully set the render state.
If illegal values are passed into this render state, a blend error of D3DMERR_DRIVERINVALIDCALL (see D3DMERR Values) is set.
|Windows Embedded CE||Windows CE 5.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|