Interface AttributeBuffer

WebGL顶点属性缓冲

Hierarchy

  • AttributeBuffer

Properties

数据

divisor?: number

drawElementsInstanced时将会用到的因子,表示divisor个geometry共用一个数据

A GLuint specifying the number of instances that will pass between updates of the generic attribute.

itemSize: 2 | 1 | 3 | 4

单项数据尺寸。

normalized?: boolean

是否标准化。

属性缓冲数据类型

usage?: BufferUsage

A GLenum specifying the intended usage pattern of the data store for optimization purposes.

为优化目的指定数据存储的预期使用模式的GLenum。

version?: number

版本号,用于标记是否变化。

Generated using TypeDoc