# [name]

This class is used internally to convert from [page:Geometry] to [page:BufferGeometry].

## Constructor

### [name]()

This creates a new [name].

## Properties

### [property:Integer id]

Unique number for this [name] instance.

### [property:String name]

Optional name. Default is the empty string.

### [property:Array type]

String 'DirectGeometry'.

### [property:Array vertices]

Initialiased as an empty array, this is populated by [page:.fromGeometry]().

### [property:Array normals]

Initialiased as an empty array, this is populated by [page:.fromGeometry]().

### [property:Array colors]

Initialiased as an empty array, this is populated by [page:.fromGeometry]().

### [property:Array uvs]

Initialiased as an empty array, this is populated by [page:.fromGeometry]().

### [property:Array uvs2]

Initialiased as an empty array, this is populated by [page:.fromGeometry]().

### [property:Array groups]

Initialiased as an empty array, this is populated by [page:.fromGeometry]().

### [property:Array morphTargets]

Initialiased as an empty array, this is populated by [page:.fromGeometry]().

### [property:Array skinWeights]

Initialiased as an empty array, this is populated by [page:.fromGeometry]().

### [property:Array skinIndices]

Initialiased as an empty array, this is populated by [page:.fromGeometry]().

### [property:Box3 boundingBox]

Bounding box for the bufferGeometry, which can be calculated with [page:.computeBoundingBox](). Default is *null*.

### [property:Sphere boundingSphere]

Bounding sphere for the bufferGeometry, which can be calculated with [page:.computeBoundingSphere](). Default is *null*.

### [property:Boolean verticesNeedUpdate]

Default is false.

### [property:Boolean normalsNeedUpdate]

Default is false.

### [property:Boolean colorsNeedUpdate]

Default is false.

### [property:Boolean uvsNeedUpdate]

Default is false.

### [property:Boolean groupsNeedUpdate]

Default is false.

## Methods

### [property:null computeGroups]( [param:Geometry geometry] )

Compute the parts of the geometry that have different materialIndex. See [page:BufferGeometry.groups].

### [property:null fromGeometry]( [param:Geometry geometry] )

Pass in a [page:Geometry] instance for conversion.

## Source

[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]