the id of the buffer that this attribute will look for
Optional
size: numberthe size of the attribute. If you have 2 floats per vertex (eg position x and y) this would be 2.
Optional
normalized: booleanshould the data be normalized.
Optional
type: TYPESwhat type of number is the attribute. Check PIXI.TYPES to see the ones available
Optional
stride: numberHow far apart, in bytes, the start of each value is. (used for interleaving data)
Optional
start: numberHow far into the array to start reading values (used for interleaving data)
Optional
instance: booleanWhether the geometry is instanced.
Optional
divisor: numberDivisor to use when doing instanced rendering
Static
fromHelper function that creates an Attribute based on the information provided
the id of the buffer that this attribute will look for
Optional
size: numberthe size of the attribute. If you have 2 floats per vertex (eg position x and y) this would be 2
Optional
normalized: booleanshould the data be normalized.
Optional
type: TYPESwhat type of number is the attribute. Check PIXI.TYPES to see the ones available
Optional
stride: numberHow far apart, in bytes, the start of each value is. (used for interleaving data)
Generated using TypeDoc
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