CacheablePrimitive

CacheablePrimitive
Scaleform::Render::RenderQueueItem::Interface
    Scaleform::Render::CacheablePrimitive
Declaration
class CacheablePrimitive : public RefCountBase<CacheablePrimitive, StatRender_RenderPipeline_Mem>, public RenderQueueItem::Interface;
Description

CacheablePrimitive is a base class for primitive types that can be cached to a render target (and therefore not need to be re-rendered). 

This includes the 'area' in which they encompass, and also whether they have masks (and thus, will require a stencil/depth buffer for their target).

Data Members
Data Member 
Description 
Maximum number of elements used by array parameters for SetCacheResults and GetCacheResults
Enumerations
Enumeration 
Description 
Indicates the state of the filtering result. 
Methods
Method 
Description 
CacheablePrimitive constructor. 
Gets the orthographic projection of the screen area occupied by the primitive. 
Gets the size of the orthographic projection of the screen area occupied by the primitive. 
Returns the cached results (if available) for the primitive. 
Gets the cached state of the filter primitive. 
Inserts an area into the primitive. Currently only one area is supported. 
Removes the filter primitive. 
Sets the cache results for the filter primitive. 
File

Render_Primitive.h