Interface: IVertexLayoutOptions

查看 llm.txt

最后一次编辑于 2026-10-22

顶点布局解构初始化参数。

Table of contents

Properties

Properties

attributes

• attributes: { format: EVertexFormat ; name: string ; offset: number ; usage: EVertexLayoutUsage }[]

顶点属性列表。


step

• Optional step: EVertexStep

步进类型。

default EVertexStep.PER_VERTEX


stepRate

• Optional stepRate: number

步进单位。

default 1


stride

• Optional stride: number

步长,不设定会自动计算。