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