enum AllocResult { Alloc_Fail, Alloc_Fail_TooBig, Alloc_Fail_ThisFrame, Alloc_Success, Alloc_StateError };
Indicates the result of mesh data allocation.
Members |
Description |
Alloc_Fail |
Allocation failed - need more cache space. |
Alloc_Fail_TooBig |
Allocation failed due to excessively big allocation size. |
Alloc_Fail_ThisFrame |
Allocation failed in this frame, but may succeed in the future; this is useful for caches that need to keep several frames alive. |
Alloc_Success |
Allocation succeeded. |
Alloc_StateError |
Buffers were in wrong state, or other/system memory error. |
Render_MeshCache.h