SkiaExtensions.ToGlSizedFormat 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.
Overloads
ToGlSizedFormat(GRPixelConfig) |
Obsolete.
Converts a GRPixelConfig to the equivalent OpenGL sized format, if possible. |
ToGlSizedFormat(SKColorType) |
Converts a SKColorType to the equivalent OpenGL sized format, if possible. |
ToGlSizedFormat(GRPixelConfig)
Caution
Use SKColorType instead.
Converts a GRPixelConfig to the equivalent OpenGL sized format, if possible.
public static uint ToGlSizedFormat (this SkiaSharp.GRPixelConfig config);
[System.Obsolete("Use SKColorType instead.")]
public static uint ToGlSizedFormat (this SkiaSharp.GRPixelConfig config);
Parameters
- config
- GRPixelConfig
The GRPixelConfig to convert.
Returns
Returns the equivalent OpenGL sized format, or 0 if there is none.
- Attributes
Applies to
ToGlSizedFormat(SKColorType)
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
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour