Edit

Share via


SKGLView.GRContext Property

Definition

Gets the GPU graphics context used for rendering.

public SkiaSharp.GRContext GRContext { get; }
public SkiaSharp.GRContext? GRContext { get; }

Property Value

The GRContext for the GPU rendering context, or null if the context is not yet available.

Implements

Remarks

The context is created when the view's native handler initializes the GPU surface. The backend type (OpenGL, Metal, or DirectX) depends on the platform.

Applies to