GRContext.GetRecommendedSampleCount(GRPixelConfig, Single) 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.
Caution
This API is now deprecated.
Returns the recommended sample count for a render target when using this context.
public int GetRecommendedSampleCount (SkiaSharp.GRPixelConfig config, float dpi);
[System.Obsolete]
public int GetRecommendedSampleCount (SkiaSharp.GRPixelConfig config, float dpi);
Parameters
- config
- GRPixelConfig
The configuration of the render target.
- dpi
- Single
The display density in dots per inch.
Returns
Returns the recommended sample count.
- Attributes
Remarks
May return 0 if MSAA is not supported or recommended to be used by default.
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