pub fn validate_mesh(mesh: &Mesh) -> Result<(), Diagnostic>Expand description
Validates mesh buffer shape, finite coordinates, normals, and triangle indices.
§Errors
Returns a diagnostic when buffers have inconsistent lengths, exceed the procedural allocation limit, or contain non-finite/out-of-range values, degenerate normals, or invalid triangle indices.