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 | Windows Store apps]

Minimum supported server

Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store 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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft