OptionalvertexThe VertexBuffer to add this VertexBufferAttribute to.
The name of the VertexBufferAttribute.
OptionaltypeThe WGSL type of the VertexBufferAttribute, i.e. "f32", "vec2f", "vec3f", etc.
OptionalbufferThe buffer format of the VertexBufferAttribute, i.e. "float32", "float32x2", "float32x3", etc.
OptionalsizeThe size of the VertexBufferAttribute. A "f32" is of size 1, a "vec2f" of size 2, a "vec3f" of size 3, etc.
OptionalarrayVertexBufferAttribute array that will be used by the VertexBuffer.
OptionalverticesUse this VertexBufferAttribute for every X vertices. Useful for vertex/face color, etc.
Parameters used to create a VertexBufferAttribute.