Entry

Entry
Scaleform::Render::ContextImpl::Entry
Declaration
class Entry;
Description

Entry is a base class for all of the context-allocated entries used for rendering nodes; users should derive all of the rendering tree items from this class. 

The main feature of this class is that it supports copy-on-write access, with data being stored in a separately EntryData. Users are expected to implement data accessors by going through the GetReadOnlyData and GetWritableData APIs. GetWritableData will in return generate/replicate the data, allowing background rendering threads to access the tree.

Methods
Method 
Description 
Increments the reference count of the context entry node. 
Adds the newly created or modified nodes/entries to the propagation chain in the rendering tree. 
Determines the depth of the node by scanning its parent chain. 
Clears the native data item in the entry node. 
Returns the modified context entry node from the display tree. 
Obtains the render context associated with the data entry node. 
Returns a pointer to the original front-allocated EntryData. 
Retrieves the parent entry node of the rendering tree. 
Returns the data from the entry node in the display tree. 
Returns the renderer data from the display tree. 
Returns the data of an existing context entry node in the display tree. 
Returns the read-only data from the entry node. 
Init 
Initializes a context entry node and sets its reference count to 1. 
Decrements the reference count of the context entries. 
Sets the modified context entry node in the rendering tree. 
Sets the parent node in the rendering tree. 
Sets a marker for a destroyed Entry. 
Sets the data representing the renderer data on the display tree. 
File

Render_Context.h