ID2D1Device4::SetMaximumColorGlyphCacheMemory method (d2d1_3.h)
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
None
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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d2d1_3.h |
DLL | D2d1.dll |