the id of the buffer that this attribute will look for
Optionalsize: numberthe size of the attribute. If you have 2 floats per vertex (eg position x and y) this would be 2.
Optionalnormalized: booleanshould the data be normalized.
Optionaltype: TYPESwhat type of number is the attribute. Check PIXI.TYPES to see the ones available
Optionalstride: numberHow far apart, in bytes, the start of each value is. (used for interleaving data)
Optionalstart: numberHow far into the array to start reading values (used for interleaving data)
Optionalinstance: booleanWhether the geometry is instanced.
Optionaldivisor: numberDivisor to use when doing instanced rendering
Destroys the Attribute.
StaticfromHelper function that creates an Attribute based on the information provided
the id of the buffer that this attribute will look for
Optionalsize: numberthe size of the attribute. If you have 2 floats per vertex (eg position x and y) this would be 2
Optionalnormalized: booleanshould the data be normalized.
Optionaltype: TYPESwhat type of number is the attribute. Check PIXI.TYPES to see the ones available
Optionalstride: numberHow far apart, in bytes, the start of each value is. (used for interleaving data)
Holds the information for a single attribute structure required to render geometry.
This does not contain the actual data, but instead has a buffer id that maps to a PIXI.Buffer This can include anything from positions, uvs, normals, colors etc.
Memberof
PIXI