mapbox-gl
Version:
A WebGL interactive maps library
12 lines (8 loc) • 366 B
JavaScript
// @flow
import {createLayout} from '../../util/struct_array.js';
import type {StructArrayLayout} from '../../util/struct_array.js';
const dashAttributes: StructArrayLayout = createLayout([
{name: 'a_dash_to', components: 4, type: 'Uint16'}, // [x, y, width, unused]
{name: 'a_dash_from', components: 4, type: 'Uint16'}
]);
export default dashAttributes;