Class WaylandGLContext
- Namespace
- GdkWayland
- Assembly
- GdkWayland-4.0.dll
public class WaylandGLContext : GLContext, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
WaylandGLContext
- Implements
- Inherited Members
Constructors
WaylandGLContext(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 WaylandGLContext(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
WaylandGLContext(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WaylandGLContext(CreationData data)
Parameters
dataCreationData
WaylandGLContext(WaylandGLContextHandle)
protected WaylandGLContext(WaylandGLContextHandle handle)
Parameters
handleWaylandGLContextHandle
Methods
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed WaylandGLContext instance for a given pointer.
public static WaylandGLContext NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new WaylandGLContext and sets the properties specified by the construct arguments.
public static WaylandGLContext NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.