Table of Contents

Method SwapBuffers

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SwapBuffers(nint)

Exchanges the front and back buffers if the pixel format supports double buffering.

public static extern bool SwapBuffers(nint hdc)

Parameters

hdc nint

Handle to the device context associated with the OpenGL rendering surface.

Returns

bool

True if the operation succeeds; otherwise, false.