MeshCache::MeshResult

MeshCache::MeshResult
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;
};
Description

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 Members
Data Member 
Description 
The result of mesh allocation. 
Enumerations
Enumeration 
Description 
Indicates the outcome of the mesh allocation/batching. 
Methods
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. 
Operators
Operator 
Description 
!= 
Determines the inequality of two mesh allocation results. 
== 
Determines if the result of the mesh allocations are same. 
File

Render_MeshCache.h