Skip to main content

Type Alias: DynamicBufferProps

DynamicBufferProps = Omit<BufferProps, "handle" | "onMapped"> & object

Defined in: modules/core/dist/dynamic/dynamic-buffer/dynamic-buffer.d.ts:9

Construction props for a DynamicBuffer.

Type Declaration​

buffer?​

optional buffer?: Buffer

Existing immutable buffer to expose through this dynamic wrapper without copying.

debugData?​

optional debugData?: DynamicBufferDebugProps

Enables and optionally sizes the CPU-side debug mirror.

ownsBuffer?​

optional ownsBuffer?: boolean

Whether this dynamic wrapper should destroy an adopted buffer. Defaults to true.