Expand description
The binders of a layer type’s data-driven paint values: what a bucket keeps of each feature’s values for its layers’ draws, which feature state rewrites, and the macro that declares a type’s binders.
Structs§
- Cross
Faded Paint Property Binder - The binder of a
*-patternproperty, whose two attributes are fouru16s each. - Interleaved
Vertex Buffer - The data-driven attribute values of all the binders of one
paint_property_binders!struct, one interleaved vertex per layout vertex. - Layer
Binders - A set of binders
Pfor each layer of a layout’s group, which their bucket holds. - Paint
Property Binder - The binder of a data-driven paint property of a single attribute: its constant, or each feature’s value, or each feature’s values at the two zooms its expression interpolates between, in the bucket’s interleaved vertices, with their statistics.
- Pattern
Dependency - The images of a feature’s pattern at the zooms its cross-fade reads: a pattern property’s dependency, which its binder takes the positions of.
Enums§
- Interleaved
Vertex Data - Where a binder’s values are in the interleaved vertex: not yet placed, or at a byte offset.
Traits§
- Binder
Value - The value types of data-driven paint properties with a single attribute
(
floatandColorin circle, fill and line): the attribute’s value of a value (attribute_value), and its type. - Paint
Binders - A layer type’s binders of its data-driven paint properties, one per
property, sharing one
InterleavedVertexBuffer: whatpaint_property_binders!declares. - Paint
Property Binder Base - What a layer’s set of binders and
bind_paint_propertydo with either binder enum.
Functions§
- bind_
paint_ property - Binds
binder’s values,shared, the vertices ofbuffer, to the attributesattributesinattrs, or records the properties of those names inuniformsif the property is constant or has no values. - shared_
paint - An attribute that reads the values at
offsetin each of thestridebytes ofshared, the vertices of a bucket’s paint values, asdata_type.
Type Aliases§
- Pattern
Layer Map - Each layer’s
PatternDependencyof a feature, by layer id.