Original Post
I want to use this method:
HRESULT GetBackBuffer( UINT iSwapChain,
UINT BackBuffer,
D3DBACKBUFFER_TYPE Type,
IDirect3DSurface9 **ppBackBuffer
); Parameters iSwapChain [in] An unsigned integer specifying the swap chain. BackBuffer [in] Index of the back buffer object to return. Back buffers are numbered from 0 to the total number of back buffers - 1. A value of 0 returns the first back buffer, not the front buffer. The front buffer is not accessible through this method. Type [in] Stereo view is not supported in Microsoft® DirectX® 9.0, so the only valid value for this parameter is D3DBACKBUFFER_TYPE_MONO. ppBackBuffer [out, retval] Address of a pointer to an IDirect3DSurface9 interface, representing the returned back buffer surface. I just wanted to ask what does the UINT iSwapChain is for? and what value should I put in it? Thanks in advance. EDIT: Long lines and [code] tags break the forum layout. Corrected. [Edited by - jollyjeffers on May 20, 2006 1:24:52 PM]