# BufferOptions

`import { BufferOptions } from "destack:compute";`

Allocation options for a compute buffer.

```ds title="BufferOptions"
export struct BufferOptions {
    label: string;
    hostAccess: HostAccess;
    alignment: usize;
}
```

[language/library/src/compute/buffer.ds:24:33](https://github.com/destack-sh/destack/blob/main/language/library/src/compute/buffer.ds#L24-L33)

## Members

### `label: string`

Debug label.

### `hostAccess: HostAccess`

Host mapping permission.

### `alignment: usize`

Requested byte alignment.
