You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And ideally, even the list of data-driven properties would itself be derived from the style spec.
The logic for how to bind a paint property to an attribute or uniform can be driven by style specification properties, and dependent not on the individual property but on its type. All color properties are bound the same way. Numeric properties with a spec-defined minimum and maximum can derive an integer size and multiplier from that range. Numeric properties where the minimum or maximum value is not defined should probably just use a float attribute, to avoid issues like #3464.
The text was updated successfully, but these errors were encountered:
I'd like to see declarations like this replaced with:
And ideally, even the list of data-driven properties would itself be derived from the style spec.
The logic for how to bind a paint property to an attribute or uniform can be driven by style specification properties, and dependent not on the individual property but on its type. All
color
properties are bound the same way. Numeric properties with a spec-defined minimum and maximum can derive an integer size andmultiplier
from that range. Numeric properties where the minimum or maximum value is not defined should probably just use a float attribute, to avoid issues like #3464.The text was updated successfully, but these errors were encountered: