bool Initialize(D3D9::GraphicsDevice* pdevice, unsigned flags);
Initializes MeshCache for operation, including allocation of the reserve buffer. This method is typically called from InitHAL.
Parameters |
Description |
D3D9::GraphicsDevice* pdevice |
The rendering device. |
unsigned flags |
Boolean flag to use dynamic mesh caches or not. |
A Boolean value of true if the mesh cache is successfully initialized with a valid device and false otherwise.