Table of Contents

Class Win32GLContext

Namespace
GdkWin32
Assembly
GdkWin32-4.0.dll
public class Win32GLContext : GLContext, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
Win32GLContext
Implements
Inherited Members

Constructors

Win32GLContext(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public Win32GLContext(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Win32GLContext(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Win32GLContext(CreationData data)

Parameters

data CreationData

Win32GLContext(Win32GLContextHandle)

protected Win32GLContext(Win32GLContextHandle handle)

Parameters

handle Win32GLContextHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed Win32GLContext instance for a given pointer.

public static Win32GLContext NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Win32GLContext

NewWithProperties(ConstructArgument[])

Creates a new Win32GLContext and sets the properties specified by the construct arguments.

public static Win32GLContext NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Win32GLContext