创建顶点数组;默认 Points、零个顶点,新增顶点为原点处的不透明白色。
Optionaltype: PrimitiveTypeOptionalvertexCount: number按索引顺序遍历顶点共享视图。
将顶点数清零,保留已分配的容量。
Protecteddraw子类同步实现绘制,可通过 target.draw() 组合对象;states 是本次调用的副本。
返回所有顶点位置的轴对齐包围框;空数组返回零矩形。
返回当前图元类型。
返回当前顶点数。
调整顶点数;新增顶点使用默认值,缩小时截去末尾顶点。
Native contiguous vertices, exposed through stable per-allocation views.