Hierarchy

  • VertexLayoutOptions

Properties

attributes: [name: string, numberOfComponents: number][]

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!!

shader: Shader

Shader that this layout will be for

vertexBuffer: VertexBuffer

Vertex buffer to use for vertex data