Skip to main content
GPURenderPassEncoder.prototype.drawIndexed - GPU - Web documentation
method GPURenderPassEncoder.prototype.drawIndexed
GPURenderPassEncoder.prototype.drawIndexed(
indexCount: number,
instanceCount?: number,
firstIndex?: number,
baseVertex?: number,
firstInstance?: number,
): undefined

Parameters

indexCount: number
optional
instanceCount: number
optional
firstIndex: number
optional
baseVertex: number
optional
firstInstance: number

Return Type

undefined