GRContext.AbandonContext(Boolean) 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.
Abandons all GPU resources and assumes the underlying backend 3D API context is not longer usable. After returning it will assume that the underlying context may no longer be valid.
public void AbandonContext (bool releaseResources = false);
Parameters
- releaseResources
- Boolean
Use true to indicate that the underlying 3D context is not yet lost and the GRContext will cleanup all allocated resources before returning. Using false will ensure that the destructors of the GRContext and any of its created resource objects will not make backend 3D API calls.
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