Skip to content

Documentation / device / BufferCreationOptions

Interface: BufferCreationOptions

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

Options for creating gpu buffer

Extends

Properties

dynamic?

optional dynamic?: boolean

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

Whether the object should be dynamic, default is false

Inherited from

BaseCreationOptions.dynamic


usage?

optional usage?: BufferUsage

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

The buffer usage


storage?

optional storage?: boolean

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

true if we are creating a storage buffer


managed?

optional managed?: boolean

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

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

Released under the MIT License.