sfml.js
    Preparing search index...

    Class VertexArray

    Native contiguous vertices, exposed through stable per-allocation views.

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Accessors

    Methods

    • 返回从零开始的顶点共享视图;越界抛出 RangeError。 扩容重新分配后,之前取得的视图仍指向旧存储,请重新获取。

      Parameters

      • index: number

      Returns Vertex

    • 调整顶点数;新增顶点使用默认值,缩小时截去末尾顶点。

      Parameters

      • vertexCount: number

      Returns void