HAL::PrepareCacheable

HAL::PrepareCacheable
virtual void PrepareCacheable(CacheablePrimitive*, bool unprepare);
Description

Prepares a cacheable primitive. This involves determining the caching state of the primitive, and modifying the render queue behavior to ignore items rendered within the cached primitive. If the primitive is being unprepared, the rendering queue functionality is restored.

Parameters
Parameters 
Description 
bool unprepare 
True if this primitive is being ‘unprepared’ 
CacheablePrimitive 
The cacheable primitive to be prepared.