ID2D1Device::SetMaximumTextureMemory method (d2d1_1.h)

Sets the maximum amount of texture memory Direct2D accumulates before it purges the image caches and cached texture allocations.

Syntax

void SetMaximumTextureMemory(
  UINT64 maximumInBytes
);

Parameters

maximumInBytes

Type: UINT64

The new maximum texture memory in bytes.

Return value

None

Remarks

Note  Direct2D may exceed the maximum texture memory you set with this method for a single frame if necessary to render the frame.
 

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1_1.h
Library D2d1.lib
DLL D2d1.dll

See also

ID2D1Device