maplibre-gl
Version:
BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
10 lines (7 loc) • 317 B
text/typescript
import {createLayout} from '../../util/struct_array';
const lineLayoutAttributes = createLayout([
{name: 'a_pos_normal', components: 2, type: 'Int16'},
{name: 'a_data', components: 4, type: 'Uint8'}
], 4);
export default lineLayoutAttributes;
export const {members, size, alignment} = lineLayoutAttributes;