Drawing3d documented Class Library

FeaturesW32.wglSwapBuffers Method

Calls wglSwapLayerBuffers with planes=WGL_SWAP_MAIN_PLANE.

[Visual Basic]
<PreserveSig> _
<DllImport(EntryPoint:="wglSwapBuffers", CharSet:=CharSet.None, SetLastError:=False, ExactSpelling:=False, PreserveSig:=True, CallingConvention:=CallingConvention.Winapi, BestFitMapping:=False, ThrowOnUnmappableChar:=False, Value:="opengl32")> _
Public Shared Sub wglSwapBuffers( _
   ByVal deviceContext As IntPtr _
)
[C#]
[PreserveSig]
[DllImport(EntryPoint="wglSwapBuffers", CharSet=CharSet.None, SetLastError=False, ExactSpelling=False, PreserveSig=True, CallingConvention=CallingConvention.Winapi, BestFitMapping=False, ThrowOnUnmappableChar=False, Value="opengl32")]
public static bool wglSwapBuffers(
   IntPtr deviceContext
);

Parameters

deviceContext
A created devicecontext

Return Value

See Also

FeaturesW32 Class | Drawing3d.OS.Windows Namespace