struct MeshResult { 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 }; ResultType Value; };
MeshResult defines the result state for directly allocated meshes. Typically, large meshes are allocated directly into the cache instead of being placed in StagingBuffer which is done for smaller meshes though.
Data Member |
Description |
The result of mesh allocation. |
Enumeration |
Description |
Indicates the outcome of the mesh allocation/batching. |
Method |
Description |
Determines whether the mesh is a "large mesh" which can be allocated directly into the cache. | |
Initializes MeshResult. | |
Determines whether the meshes are allocated/batched successfully. |
Render_MeshCache.h