Skip to content

Documentation / device / BufferCreationOptions

Interface: BufferCreationOptions

Defined in: libs/device/src/gpuobject.ts:718

Options for creating gpu buffer

Extends

Properties

dynamic?

optional dynamic?: boolean

Defined in: libs/device/src/gpuobject.ts:702

Whether the object should be dynamic, default is false

Inherited from

BaseCreationOptions.dynamic


usage?

optional usage?: BufferUsage

Defined in: libs/device/src/gpuobject.ts:720

The buffer usage


storage?

optional storage?: boolean

Defined in: libs/device/src/gpuobject.ts:722

true if we are creating a storage buffer


managed?

optional managed?: boolean

Defined in: libs/device/src/gpuobject.ts:724

Whether the object content should be managed, default true for vertex buffer of index buffer

Released under the MIT License.