Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID2D1Device::SetMaximumTextureMemory method

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

This method does not return a value.

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

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]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1_1.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1Device

 

 

Show:
© 2018 Microsoft