GRContext.CreateMetal Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
| Nom | Description |
|---|---|
| CreateMetal(GRMtlBackendContext, GRContextOptions) |
Crée un GRContext contexte Metal. |
| CreateMetal(GRMtlBackendContext) |
Crée un GRContext contexte Metal. |
CreateMetal(GRMtlBackendContext, GRContextOptions)
Crée un GRContext contexte Metal.
public static SkiaSharp.GRContext CreateMetal(SkiaSharp.GRMtlBackendContext backendContext, SkiaSharp.GRContextOptions options);
Paramètres
- backendContext
- GRMtlBackendContext
Contexte back-end Metal à utiliser.
- options
- GRContextOptions
Options de création de contexte.
Retours
Retourne le nouveau GRContext si l’un a été créé, sinon null.
S’applique à
CreateMetal(GRMtlBackendContext)
Crée un GRContext contexte Metal.
public static SkiaSharp.GRContext CreateMetal(SkiaSharp.GRMtlBackendContext backendContext);
Paramètres
- backendContext
- GRMtlBackendContext
Contexte back-end Metal à utiliser.
Retours
Retourne le nouveau GRContext si l’un a été créé, sinon null.