Direct 3D Cache Allocation Query Functions

The following functions available in 3ds Max 2010 and higher let you query the memory usage, face count and timing of the Direct3D Mesh Cache.

   

<float>getD3DMeshAllocated() 	 

Returns the Direct3D Mesh Cache memory allocation in Megabytes.

   

<integer>getD3DMeshAllocatedFaces()   

Returns the Direct3D Mesh Cache face count.

   

<float>getD3DTimer <integer>timer 

For internal use only.

In addition, the Direct3D Mesh Cache creation is multi-threaded since 3ds Max 2010.

The following function can be used to switch back to the old single-threaded cache creation mode for compatibility reasons:

   

<boolean>SetUseOldD3DCache <boolean>useOld 

When the argument is true, enables single-threaded cache creation.

When the argument is false, enables multi-threaded cache creation (default).

Returns true on success, false on failure.

See Also