@deck.gl/core
Version:
deck.gl core library
10 lines • 831 B
TypeScript
import { getDataType } from '@luma.gl/core';
import type { BufferAttributeLayout } from '@luma.gl/core';
import type { TypedArrayConstructor } from "../../types/types.js";
import type { BufferAccessor, DataColumnSettings, LogicalDataType } from "./data-column.js";
export declare function typedArrayFromDataType(type: LogicalDataType): TypedArrayConstructor;
export declare const dataTypeFromTypedArray: typeof getDataType;
export declare function getBufferAttributeLayout(name: string, accessor: BufferAccessor, deviceType: 'webgpu' | 'wegbgl' | string): BufferAttributeLayout;
export declare function getStride(accessor: DataColumnSettings<unknown>): number;
export declare function bufferLayoutEqual(accessor1: DataColumnSettings<unknown>, accessor2: DataColumnSettings<unknown>): boolean;
//# sourceMappingURL=gl-utils.d.ts.map