Skip to main content
GPURenderPassEncoder.prototype.setVertexBuffer - GPU - Web documentation
method GPURenderPassEncoder.prototype.setVertexBuffer
GPURenderPassEncoder.prototype.setVertexBuffer(
slot: number,
buffer: GPUBuffer,
offset?: number,
size?: number,
): undefined

Parameters

slot: number
buffer: GPUBuffer
optional
offset: number
optional
size: number

Return Type

undefined