参考 clear()

clear()

This feature requires the p5.webgpu.js addon.
此 API 是实验性的

其行为可能在 p5.js 的未来版本中发生变化。

Empties the list.

示例

语法

clear()

参数


相关参考