Skip to content

Class: GeometryIndicesBuffer

Constructors

Properties

Methods

Constructors

constructor

new GeometryIndicesBuffer(): GeometryIndicesBuffer

Returns

GeometryIndicesBuffer

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:13

Properties

uuid

uuid: string = ''

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:8


name

name: string

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:9


indicesGPUBuffer

indicesGPUBuffer: IndicesGPUBuffer

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:10


indicesFormat

indicesFormat: GPUIndexFormat

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:11


indicesCount

indicesCount: number = 0

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:12

Methods

createIndicesBuffer

createIndicesBuffer(indicesData): void

Parameters

NameType
indicesDataVertexAttributeData

Returns

void

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:16


upload

upload(data): void

Parameters

NameType
dataArrayBufferData

Returns

void

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:26


compute

compute(): void

Returns

void

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:31


destroy

destroy(): void

Returns

void

Defined in

src/core/geometry/GeometryIndicesBuffer.ts:35

Released under the MIT License