@deck.gl/layers
Version:
deck.gl core layers
29 lines • 661 B
JavaScript
// deck.gl
// SPDX-License-Identifier: MIT
// Copyright (c) vis.gl contributors
const uniformBlock = `\
uniform arcUniforms {
bool greatCircle;
bool useShortestPath;
float numSegments;
float widthScale;
float widthMinPixels;
float widthMaxPixels;
highp int widthUnits;
} arc;
`;
export const arcUniforms = {
name: 'arc',
vs: uniformBlock,
fs: uniformBlock,
uniformTypes: {
greatCircle: 'f32',
useShortestPath: 'f32',
numSegments: 'f32',
widthScale: 'f32',
widthMinPixels: 'f32',
widthMaxPixels: 'f32',
widthUnits: 'i32'
}
};
//# sourceMappingURL=arc-layer-uniforms.js.map