Interface GPUVertexAttribute


  • GPUVertexAttribute


The GPUVertexFormat of the attribute.

offset: number

The offset, in bytes, from the beginning of the element to the data for the attribute.

shaderLocation: number

The numeric location associated with this attribute, which will correspond with a "@location" attribute declared in the vertex.GPUProgrammableStage#modul | odule.

Generated using TypeDoc