跳到主要内容

GLVertexBufferLayout

Ploy3D / GLVertexBufferLayout

Interface: GLVertexBufferLayout

顶点属性组布局描述。

Table of contents

Properties

Properties

arrayStride

arrayStride: number

顶点属性组跨距。


attributes

attributes: { format: GLVertexFormat ; formatCount: number ; formatType: number ; normalized: boolean ; offset: number ; shaderLocation: number }[]

顶点属性组各属性描述。


stepMode

Optional stepMode: "vertex" | "instance"

顶点属性组步进模式。