# MonitorMode

`import { MonitorMode } from "destack:display/binding";`

Display mode.

```ds title="MonitorMode"
export struct MonitorMode {
    width: uint32;
    height: uint32;
    refreshMilliHz: uint32;
    format: MonitorPixelFormat;
    bitDepth: uint16;
}
```

[language/library/src/display/binding/monitor.ds:38:49](https://github.com/destack-sh/destack/blob/main/language/library/src/display/binding/monitor.ds#L38-L49)

## Members

### `width: uint32`

Pixel width.

### `height: uint32`

Pixel height.

### `refreshMilliHz: uint32`

Refresh rate in millihertz.

### `format: MonitorPixelFormat`

Pixel format.

### `bitDepth: uint16`

Color depth in bits per pixel.
