Microsoft SDK for Java

setBufferCount

This method of the Direct3dRMDevice Class sets the number of buffers currently being used by the application.

Syntax

public void setBufferCount(int count);

Parameters

count 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.

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

getBufferCount

© 1999 Microsoft Corporation. All rights reserved. Terms of use.