This is a superefficent class for geometries because it saves all data in buffers. It reduces memory costs and cpu cycles. But it is not as easy to work with because of all the nessecary buffer calculations. It is mainly interesting when working with static objects.
This creates a new BufferGeometry. It also sets several properties to an default value.
Unique number of this buffergeometry instance
any
any
Bakes matrix transform directly into vertex coordinates.
Computes bounding box of the geometry, updating Geometry.boundingBox attribute. Bounding boxes aren't computed by default. They need to be explicitly computed, otherwise they are null.
Computes bounding sphere of the geometry, updating Geometry.boundingSphere attribute. Bounding spheres aren't' computed by default. They need to be explicitly computed, otherwise they are null.
Computes vertex tangents. Based on http://www.terathon.com/code/tangent.html Geometry must have vertex UVs (layer 0 will be used).
Computes vertex normals by averaging face normals.
Disposes the object from memory. You need to call this when you want the bufferGeometry removed while the application is running.
any