SKGLView.GRContext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.