IDirect3DRMDevice::SetBufferCount
Sets the number of buffers currently being used by the application.
HRESULT SetBufferCount(
DWORD dwCount
);
Parameters
dwCount
Specifies the number of buffers-one for single-buffering, two for double-buffering, and so on. The default value is 1, which is correct only for single-buffered window operation.
Return Values
Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.
Remarks
An application that employs double-buffering or triple-buffering must use this method to inform the system of how many buffers it is using so that the system can calculate how much of the window to clear and update on each frame.
See Also