MeshCache::Initialize

MeshCache::Initialize
bool Initialize(D3D9::GraphicsDevice* pdevice, unsigned flags);
Description

Initializes MeshCache for operation, including allocation of the reserve buffer. This method is typically called from InitHAL.

Parameters
Parameters 
Description 
D3D9::GraphicsDevice* pdevice 
The rendering device. 
unsigned flags 
Boolean flag to use dynamic mesh caches or not. 
Return Value

A Boolean value of true if the mesh cache is successfully initialized with a valid device and false otherwise.