Skip to content

@tmrw-realityos/charmDocs


@tmrw-realityos/charm / BufferView

Interface: BufferView

A view into a buffer generally representing a subset of the buffer.

Indexable

[k: string]: any

Properties

buffer

buffer: number

The index of the buffer.

Defined in

packages/charm/src/fileFormats/GLTF.ts:221


byteLength

byteLength: number

The length of the bufferView in bytes.

Defined in

packages/charm/src/fileFormats/GLTF.ts:229


byteOffset?

optional byteOffset: number

The offset into the buffer in bytes.

Defined in

packages/charm/src/fileFormats/GLTF.ts:225


byteStride?

optional byteStride: number

The stride, in bytes.

Defined in

packages/charm/src/fileFormats/GLTF.ts:233


extensions?

optional extensions: any

Defined in

packages/charm/src/fileFormats/GLTF.ts:239


extras?

optional extras: any

Defined in

packages/charm/src/fileFormats/GLTF.ts:240


name?

optional name: any

Defined in

packages/charm/src/fileFormats/GLTF.ts:238


target?

optional target: number

The hint representing the intended GPU buffer type to use with this buffer view.

Defined in

packages/charm/src/fileFormats/GLTF.ts:237