clearBuffer method
The clearBuffer()
method of the
GPUCommandEncoder interface encodes a command that fills a region of a
GPUBuffer with zeroes.
Implementation
external void clearBuffer(
GPUBuffer buffer, [
GPUSize64 offset,
GPUSize64 size,
]);