@luma.gl/engine
Version:
3D Engine Components for luma.gl
16 lines • 552 B
TypeScript
import type { TypedArray } from '@math.gl/core';
import type { VertexFormat } from '@luma.gl/core';
/** Holds one geometry */
export type GeometryTable = {
length: number;
schema?: Record<string, VertexFormat>;
attributes: {
POSITION: TypedArray;
NORMAL: TypedArray;
TEXCOORD_0: TypedArray;
[key: string]: TypedArray;
};
indices?: Uint16Array | Uint32Array;
topology?: 'point-list' | 'line-list' | 'line-strip' | 'triangle-list' | 'triangle-strip';
};
//# sourceMappingURL=geometry-table.d.ts.map