xr-frame / Exports / IVertexLayoutOptions
# Interface: IVertexLayoutOptions
顶点布局解构初始化参数。
# 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
步长,不设定会自动计算。