CompositionGraphicsDevice.Trim Method

Definition

Trims any graphics memory allocated by the graphics device on the app's behalf.

public:
 virtual void Trim() = Trim;
void Trim();
public void Trim();
function trim()
Public Sub Trim ()

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)

Applies to