maplibre-gl
Version:
BSD licensed community fork of mapbox-gl, a WebGL interactive maps library
10 lines (7 loc) • 329 B
text/typescript
import {createLayout} from '../../util/struct_array';
const lineLayoutAttributesExt = createLayout([
{name: 'a_uv_x', components: 1, type: 'Float32'},
{name: 'a_split_index', components: 1, type: 'Float32'},
]);
export default lineLayoutAttributesExt;
export const {members, size, alignment} = lineLayoutAttributesExt;