IDirect3DDevice::BeginScene

HRESULT BeginScene();

Begins a scene.

·Returns D3D_OK if successful or an error otherwise.

Applications must call this method before performing any rendering, and must call IDirect3DDevice::EndScene when rendering is complete.