IDirect3DMobileDevice::SetRenderState

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


HRESULT SetRenderState(
  D3DMRENDERSTATETYPE State,
  DWORD Value
);

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.

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.

Headerd3dm.h
LibraryD3dm.lib, D3dmguid.lib
Windows Embedded CEWindows CE 5.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: