Phaser API Documentation

  Version: 
<readonly> vertexBuffer: WebGLBuffer

Description:

The WebGLBuffer that holds the vertex data.

Created from the vertexData ArrayBuffer. If vertices are set in the config, a STATIC_DRAW buffer is created. If not, a DYNAMIC_DRAW buffer is created.

Type:
WebGLBuffer
Since: 3.0.0