AdvancedOptionaldivisorattribute divisor for instanced rendering. Note: this is a WebGL-only feature, the WebGPU renderer will issue a warning if one of the attributes has divisor set.
Optionalformatthe format of the attribute
Optionalinstanceis this an instanced buffer? (defaults to false)
Optionallocationset where the shader location is for this attribute
Optionaloffsetthe offset of the attribute from the buffer, defaults to 0 - in bytes
Optionalsizethe number of elements to be rendered. If not specified, all vertices after the starting vertex will be drawn.
Optionalstartthe starting vertex in the geometry to start drawing from. If not specified, drawing will start from the first vertex.
Optionalstridethe stride of the data in the buffer - in bytes
This interface represents the extracted attribute data from a WebGL program. It extends the
Attributeinterface but omits thebufferproperty. It includes an optionallocationproperty that indicates where the shader location is for this attribute.