@urban-toolkit/autk-core / LayerGeometry
Interface: LayerGeometry
Defined in: types-mesh.ts:18
Triangulated vertex buffers for one renderable geometry piece.
The buffers are emitted in the same vertex order expected by renderers. Optional arrays are present only when the triangulation pipeline produces them for the target material or pass.
Properties
featureIndex?
optionalfeatureIndex?:number
Defined in: types-mesh.ts:28
Optional source feature index associated with this geometry chunk.
indices?
optionalindices?:Uint32Array<ArrayBufferLike>
Defined in: types-mesh.ts:24
Optional triangle index buffer referencing vertices in position.
normal?
optionalnormal?:Float32Array<ArrayBufferLike>
Defined in: types-mesh.ts:22
Optional vertex normal buffer aligned with position.
position
position:
Float32Array
Defined in: types-mesh.ts:20
Flat vertex position buffer packed sequentially per vertex.
texCoord?
optionaltexCoord?:Float32Array<ArrayBufferLike>
Defined in: types-mesh.ts:26
Optional texture-coordinate buffer aligned with position.