Click to Rate and Give Feedback
MSDN
MSDN Library
DirectX
SDK Documentation
DirectX Graphics
Direct3D 9
Reference
D3DX Reference
Interfaces
 ID3DXRenderToSurface::BeginScene

  Switch on low bandwidth view
ID3DXRenderToSurface::BeginScene
Bb174193.XDK_CHM_BANNER_left(en-us,VS.85).jpgBb174193.XDK_CHM_BANNER_right(en-us,VS.85).jpg

ID3DXRenderToSurface::BeginScene

Begins a scene.

HRESULT BeginScene(
  LPDIRECT3DSURFACE9 pSurface,
  CONST D3DVIEWPORT9 * pViewport
);

Parameters

pSurface
[in] Pointer to an IDirect3DSurface9 interface, representing the render surface.
pViewport
[in] Pointer to a D3DVIEWPORT9 structure, describing the viewport for the scene.

Return Values

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL.

D3DERR_OUTOFVIDEOMEMORY D3DXERR_INVALIDDATA E_OUTOFMEMORY

Requirements

Header: Declared in D3dx9core.h.

Library: Use D3dx9.lib.

See Also

ID3DXRenderToSurface::EndScene

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker