Partager via


IDirect3DMobileDevice::SetRenderState

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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

Syntax

HRESULT SetRenderState(
  D3DMRENDERSTATETYPE State,
  DWORD Value
);

Parameters

  • Value
    [in] A DWORD value containing the data associated with the render state.

Return Value

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

Header d3dm.h
Library D3dm.lib, D3dmguid.lib
Windows Embedded CE Windows CE 5.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

IDirect3DMobileDevice