SkiaExtensions.ToGlSizedFormat(SKColorType) Method
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.
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.