Scaleform::Render::CacheBase Scaleform::Render::MeshCacheConfig Scaleform::Render::MeshCache Scaleform::Render::D3D9::MeshCache
class MeshCache : public Render::MeshCache;
D3D9 mesh cache implementation with the following characteristics:
- Multiple cache lists and allocators; one per buffer.
- Relies on 'Extended Locks'.
Method |
Description |
Allocates MeshCache item and its buffers. | |
Determines whether the cache buffers are locked or unlocked. | |
Clears mesh cache, releasing all buffers except for reserve. | |
Informs cache that the frame rendering has ended. | |
Evicts the mesh data item from the mesh/index caches and frees it. | |
Returns the QueueMode which reports the type of the queue handling performed on the meshes. | |
Initializes MeshCache for operation, including allocation of the reserve buffer. | |
Locks the buffers (VB/IB) of a MeshCacheItem, returning CPU addressable memory to update them. | |
Locks the cache buffers by pinning the meshes. | |
MeshCache constructor. | |
Resets the mesh cache, releasing all buffers. | |
Returns the statistics pertaining to mesh cache. | |
Unlocks the cache buffers required during the render queue processing. | |
Sets new MeshCache parameters, recreating mesh buffers if the cache is already initialized. | |
Determines whether to use mesh caches with dynamic buffers. |
D3D9_MeshCache.h