Share via


IDirect3DMobileDevice::SetRenderState (Windows CE 5.0)

Send Feedback

This method is used to assign values to specific render states.

HRESULT SetRenderState(  D3DMRENDERSTATETYPE State,  DWORD Value);

Parameters

  • State
    [in] A D3DMRENDERSTATETYPE value that identifies the render type to set.
  • Value
    [in] A DWORD value containing the data associated with the render state.

Return Values

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.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: D3dm.h.
Link Library: D3dm.lib, D3dmguid.lib.

See Also

IDirect3DMobileDevice

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.