Edit

GRGlInterface Class

Definition

The GRGlInterface is used to interface with OpenGL.

public class GRGlInterface : SkiaSharp.SKObject
Inheritance

Remarks

A GRContext does not interact directly with the underlying backend, instead it uses an OpenGL interface.

Properties

Name Description
Handle

Gets or sets the handle to the underlying native object.

(Inherited from SKObject)
IgnorePublicDispose

Gets a value indicating whether the call the public Dispose() should be no-op.

(Inherited from SKNativeObject)
IsDisposed

Gets a value indicating whether the object has already been disposed.

(Inherited from SKNativeObject)
OwnsHandle

Gets or sets a value indicating whether this object owns its handle and should destroy the native object when it is disposed.

(Inherited from SKNativeObject)

Methods

Name Description
Create()

Creates a new OpenGL interface for the current platform.

Create(GRGlGetProcedureAddressDelegate)

Creates a new OpenGL interface using the specified function resolver.

CreateAngle()

Creates a new OpenGL interface for ANGLE.

CreateAngle(GRGlGetProcedureAddressDelegate)

Creates a new OpenGL interface for ANGLE using the specified function resolver.

CreateEvas(IntPtr)

Creates a new OpenGL interface for Tizen Evas.

CreateGles(GRGlGetProcedureAddressDelegate)

Creates a new OpenGL ES interface using the specified function resolver.

CreateOpenGl(GRGlGetProcedureAddressDelegate)

Creates a new desktop OpenGL interface using the specified function resolver.

CreateWebGl(GRGlGetProcedureAddressDelegate)

Creates a new WebGL interface using the specified function resolver.

Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

Releases the unmanaged resources used by the GRGlInterface and optionally releases the managed resources.

DisposeInternal()

Triggers a dispose, ignoring the value of IgnorePublicDispose.

(Inherited from SKNativeObject)
DisposeManaged()

Implemented by derived SKObject types to destroy any managed objects.

(Inherited from SKObject)
DisposeNative()

Implemented by derived SKObject types to destroy any native objects.

(Inherited from SKObject)
DisposeUnownedManaged()

Implemented by derived SKObject types to dispose managed objects that are not owned by this instance.

(Inherited from SKObject)
HasExtension(String)

Checks to see if the underlying OpenGL backend has the specified extension.

Validate()

Validates that the GRGlInterface supports its advertised standard.

Applies to