ID2D1Device4::SetMaximumColorGlyphCacheMemory method

Sets the maximum capacity of the color glyph cache.

Syntax


void SetMaximumColorGlyphCacheMemory(
   UINT64 maximumInBytes
);

Parameters

maximumInBytes

Type: UINT64

The maximum capacity of the color glyph cache.

Return value

This method does not return a value.

Remarks

The color glyph cache is used to store color bitmap glyphs and SVG glyphs, enabling faster performance if the same glyphs are needed again. The capacity determines the amount of memory that D2D may use to store glyphs that the application does not already reference. If the application references a glyph using GetColorBitmapGlyphImage or GetSvgGlyphImage, after it has been evicted, this glyph does not count toward the cache capacity.

Requirements

Header

D2d1_3.h

DLL

D2d1.dll

See also

ID2D1Device4

 

 

Show: