Optional
Readonly
array顶点数据。
Readonly
format顶点数据格式。
由于提供的数据并不一定与着色器中格式一直,因此必须提供与着色器中兼容的数据格式。
Optional
Readonly
offset所在顶点数据中的偏移字节数。
Optional
Readonly
stepWhether each element of this array represents per-vertex data or per-instance data
GPUVertexBufferLayout.stepMode
默认 "vertex"
。
Static
get获取顶点属性数据的字节尺寸。
顶点属性数据。
Static
get获取顶点属性数据的顶点数量。
顶点属性数据。
Generated using TypeDoc
The stride, in bytes, between elements of this array.
GPUVertexBufferLayout.arrayStride