Skip to content

ZenFG TypeScript API / webgpu / root / BufferRange

Type Alias: BufferRange

BufferRange = object

Defined in: packages/webgpu/src/types.ts:180

Beta

A byte interval within a logical buffer.

Offset and size must be non-negative safe integers. An omitted size extends to the end of the buffer, and a zero-length range is valid.

Properties

offset

readonly offset: GPUSize64

Defined in: packages/webgpu/src/types.ts:182

Byte offset from the start of the buffer.


size?

readonly optional size?: GPUSize64

Defined in: packages/webgpu/src/types.ts:184

Number of bytes, or the remainder of the buffer when omitted.

Open source / MIT licensed