compressVertices

Compresses and packs geometry normal attribute values to save memory.

geometry = GeometryPipeline.compressVertices(geometry);

Return

The modified geometry argument, with its normals compressed and packed.

Parameters

geometry

The geometry to modify.

See also