IDirect3DMobileDevice::BeginScene

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

This method begins a scene.


HRESULT BeginScene();

None.

If the method succeeds, the return value is D3DM_OK (see D3DM Values).

If the method fails, the return value can be D3DERR_INVALIDCALL (see D3DMERR Values).

Applications must call this method before performing any rendering and must call IDirect3DMobileDevice::EndScene when rendering is complete and before calling IDirect3DMobileDevice::BeginScene again.

If the IDirect3DMobileDevice::BeginScene method fails, the device was unable to begin the scene, and there is no need to call the IDirect3DMobileDevice::EndScene method. In fact, calls to IDirect3DMobileDevice::EndScene will fail if the previous call to IDirect3DMobileDevice::BeginScene failed.

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: