> Development branch documentation — commit c5a119d39ba4c149dc90ed5711c4e76759080b41
> Package versions: @zenfg/webgpu 0.2.0, @zenfg/snapshot 0.1.1, @zenfg/inspector 0.2.0, zenfg 0.2.0, zenfg-snapshot 0.1.1
> Source: https://github.com/uinosoft/zenfg/blob/c5a119d39ba4c149dc90ed5711c4e76759080b41/packages/webgpu/src/types.ts#L1256

[ZenFG TypeScript API](/zenfg/docs/api/index.md) / [webgpu](/zenfg/docs/api/webgpu/index.md) / [root](/zenfg/docs/api/webgpu/root/index.md) / BufferAllocationInfo

# Type Alias: BufferAllocationInfo

> **BufferAllocationInfo** = `object`

Defined in: [packages/webgpu/src/types.ts:1256](https://github.com/uinosoft/zenfg/blob/c5a119d39ba4c149dc90ed5711c4e76759080b41/packages/webgpu/src/types.ts#L1256)

Physical buffer specifications; size is the rounded pool capacity, not the logical size.

## Properties

### size

> `readonly` **size**: `number`

Defined in: [packages/webgpu/src/types.ts:1257](https://github.com/uinosoft/zenfg/blob/c5a119d39ba4c149dc90ed5711c4e76759080b41/packages/webgpu/src/types.ts#L1257)

***

### usage

> `readonly` **usage**: `GPUBufferUsageFlags`

Defined in: [packages/webgpu/src/types.ts:1258](https://github.com/uinosoft/zenfg/blob/c5a119d39ba4c149dc90ed5711c4e76759080b41/packages/webgpu/src/types.ts#L1258)
