enum ResultType { Success_Staging = 0x0, Success_LargeMesh = 0x1, Fail_Staging_NoBuffer = 0x2, Fail_LargeMesh_NeedCache = 0x3, Fail_LargeMesh_TooBig = 0x5, Fail_LargeMesh_ThisFrame = 0x7, Fail_General = 0x6 };
Indicates the outcome of the mesh allocation/batching.
Members |
Description |
Success_Staging = 0x0 |
Successful allocation of meshes/Batching in the staging buffer. |
Success_LargeMesh = 0x1 |
Successful allocation of mesh (large mesh) directly in the cache. |
Fail_Staging_NoBuffer = 0x2 |
Batching of meshes failure due to lack of space in the staging buffer. |
Fail_LargeMesh_NeedCache = 0x3 |
Failure in direct allocation of large mesh in the cache. |
Fail_LargeMesh_TooBig = 0x5 |
Failure in large mesh allocation (VB/IB buffers too big). |
Fail_LargeMesh_ThisFrame = 0x7 |
Failure in allocation of mesh in this frame; should try again in future frames. |
Fail_General = 0x6 |
Failure in allocating meshes either in the staging buffer or directly into the cache. |
Render_MeshCache.h