Interface GPUVertexAttribute
Index
Properties
Properties
format
offset
offset: number
The offset, in bytes, from the beginning of the element to the data for the attribute.
shaderLocation
shaderLocation : number
The numeric location associated with this attribute, which will correspond with a "@location" attribute declared in the GPURenderPipelineDescriptor#vertex.module.
The GPUVertexFormat of the attribute.