<div class='sourceset sourceset-android'>Android</div>

```kotlin
public class DpVolumeSize(public val width: Dp, public val height: Dp, public val depth: Dp)
```

Represents the size of a volume in density-independent pixels ([Dp](/jetpack-compose/androidx.compose.ui/ui-unit/classes/Dp)).

This class provides a convenient way to store and manipulate the [width](/jetpack-compose/androidx.xr.compose/compose/functions/width), [height](/jetpack-compose/androidx.xr.compose/compose/functions/height), and [depth](/jetpack-compose/androidx.xr.compose/compose/functions/depth)
of a 3D volume in Dp. It also provides methods to convert to and from `Dimensions` in meters.

## Companion Object

#### Properties

<div class='sourceset sourceset-android'>Android</div>

```kotlin
public val Zero: DpVolumeSize
```

A [DpVolumeSize](/jetpack-compose/androidx.xr.compose/compose/classes/DpVolumeSize) with all dimensions set to 0.dp.