Edit

SkiaExtensions.ToGlSizedFormat(SKColorType) Method

Definition

Converts a SKColorType to the equivalent OpenGL sized format, if possible.

public static uint ToGlSizedFormat(this SkiaSharp.SKColorType colorType);

Parameters

colorType
SKColorType

The SKColorType to convert.

Returns

Returns the equivalent OpenGL sized format, or 0 if there is none.

Applies to