VertexLayoutOptions
Index
Properties
attributes
gl
WebGL2RenderingContext this layout will be attached to, these cannot be reused across contexts.
optionalshader
Shader that this layout will be for, if null you must set a shader before using it.
optionalsuppressWarnings
Optionally suppress any warnings out of vertex layouts
BEWARE this may cause you to have issues go unnoticed
vertexBuffer
Vertex buffer to use for vertex data
Specify the attributes that will exist in the vertex buffer
Important must specify them in the order that they will be in the vertex buffer!!