FontCacheHandleRef

FontCacheHandleRef
Scaleform::Render::FontCacheHandleRef
Declaration
class FontCacheHandleRef;
Description

FontCacheHandleRef is partially thread safe font cache handle and its constructor and destructor can be called on any thread. The destructor notifies FontCacheHandleManager in thread-safe manner. 

Besides destruction, this object is only accessed on the Render thread with pFont being read without a lock by RenderThread only; it is always modified by GlyphCache lock. 

The render thread will call releaseCache_NoNotify() when it swaps out the associated Font.

Methods
Method 
Description 
FontCacheHandleRef constructor. 
File

Render_Font.h