Skip to main content
GPUCommandEncoder.prototype.clearBuffer - GPU - Web documentation
method GPUCommandEncoder.prototype.clearBuffer
GPUCommandEncoder.prototype.clearBuffer(
destination: GPUBuffer,
destinationOffset?: number,
size?: number,
): undefined

Parameters

destination: GPUBuffer
optional
destinationOffset: number
optional
size: number

Return Type

undefined