Enumeration representing the result of a free memory check for storing a mesh in GPU memory.

Enumeration Members

NoGeometry: 2

The mesh has no associated geometry; cannot store in GPU memory.

NotEnoughAtlasSpace: 9

One of the batch's PBR-map atlases (albedo / metallic-roughness / normal-map) couldn't fit the mesh's texture, but the texture is small enough to fit in a fresh atlas — the caller should spawn a new batch.

NotEnoughColorSpace: 5

Insufficient GPU memory for additional vertex colors.

NotEnoughEdgeIndexSpace: 7

Insufficient GPU memory for additional edge indices.

NotEnoughIndexSpace: 6

Insufficient GPU memory for additional indices.

NotEnoughPrimSpace: 8

Insufficient GPU memory for additional primitives.

NotEnoughVertexSpace: 4

Insufficient GPU memory for additional vertex data.

OK: 0

Sufficient GPU memory is available; the mesh can be stored and rendered.

TooManyGeometries: 3

The maximum number of unique GPU geometries has been reached.

TooManyMeshes: 1

The maximum number of GPU meshes has been reached; cannot store more meshes.