RenderPassEncoder

expect class RenderPassEncoder
actual class RenderPassEncoder
actual class RenderPassEncoder
actual class RenderPassEncoder

Constructors

Link copied to clipboard
constructor(handler: WGPURenderPassEncoder)
constructor(handler: GPURenderPassEncoder)
constructor(handler: GPURenderPassEncoder)

Functions

Link copied to clipboard
expect fun beginOcclusionQuery(queryIndex: GPUSize32)
actual fun beginOcclusionQuery(queryIndex: GPUSize32)
actual fun beginOcclusionQuery(queryIndex: GPUSize32)
actual fun beginOcclusionQuery(queryIndex: GPUSize32)
Link copied to clipboard
expect fun draw(vertexCount: GPUSize32, instanceCount: GPUSize32, firstVertex: GPUSize32, firstInstance: GPUSize32)
actual fun draw(vertexCount: GPUSize32, instanceCount: GPUSize32, firstVertex: GPUSize32, firstInstance: GPUSize32)
actual fun draw(vertexCount: GPUSize32, instanceCount: GPUSize32, firstVertex: GPUSize32, firstInstance: GPUSize32)
actual fun draw(vertexCount: GPUSize32, instanceCount: GPUSize32, firstVertex: GPUSize32, firstInstance: GPUSize32)
Link copied to clipboard
expect fun drawIndexed(indexCount: GPUSize32, instanceCount: GPUSize32, firstIndex: GPUSize32, baseVertex: GPUSignedOffset32 = 0, firstInstance: GPUSize32)
actual fun drawIndexed(indexCount: GPUSize32, instanceCount: GPUSize32, firstIndex: GPUSize32, baseVertex: GPUSignedOffset32, firstInstance: GPUSize32)
actual fun drawIndexed(indexCount: GPUSize32, instanceCount: GPUSize32, firstIndex: GPUSize32, baseVertex: GPUSignedOffset32, firstInstance: GPUSize32)
actual fun drawIndexed(indexCount: GPUSize32, instanceCount: GPUSize32, firstIndex: GPUSize32, baseVertex: GPUSignedOffset32, firstInstance: GPUSize32)
Link copied to clipboard
expect fun drawIndexedIndirect(indirectBuffer: Buffer, indirectOffset: GPUSize64)
actual fun drawIndexedIndirect(indirectBuffer: Buffer, indirectOffset: GPUSize64)
actual fun drawIndexedIndirect(indirectBuffer: Buffer, indirectOffset: GPUSize64)
actual fun drawIndexedIndirect(indirectBuffer: Buffer, indirectOffset: GPUSize64)
Link copied to clipboard
expect fun drawIndirect(indirectBuffer: Buffer, indirectOffset: GPUSize64)
actual fun drawIndirect(indirectBuffer: Buffer, indirectOffset: GPUSize64)
actual fun drawIndirect(indirectBuffer: Buffer, indirectOffset: GPUSize64)
actual fun drawIndirect(indirectBuffer: Buffer, indirectOffset: GPUSize64)
Link copied to clipboard
expect fun end()
actual fun end()
actual fun end()
actual fun end()
Link copied to clipboard
expect fun endOcclusionQuery()
actual fun endOcclusionQuery()
actual fun endOcclusionQuery()
actual fun endOcclusionQuery()
Link copied to clipboard
expect fun executeBundles(bundles: List<RenderBundle>)
actual fun executeBundles(bundles: List<RenderBundle>)
actual fun executeBundles(bundles: List<RenderBundle>)
actual fun executeBundles(bundles: List<RenderBundle>)
Link copied to clipboard
expect fun setBindGroup(index: GPUIndex32, bindGroup: BindGroup, dynamicOffsets: List<GPUIndex32> = listOf())
actual fun setBindGroup(index: GPUIndex32, bindGroup: BindGroup, dynamicOffsets: List<GPUIndex32>)
actual fun setBindGroup(index: GPUIndex32, bindGroup: BindGroup, dynamicOffsets: List<GPUIndex32>)
actual fun setBindGroup(index: GPUIndex32, bindGroup: BindGroup, dynamicOffsets: List<GPUIndex32>)
Link copied to clipboard
expect fun setBlendConstant(color: Color)
actual fun setBlendConstant(color: Color)
actual fun setBlendConstant(color: Color)
actual fun setBlendConstant(color: Color)
Link copied to clipboard
expect fun setIndexBuffer(buffer: Buffer, indexFormat: IndexFormat, offset: GPUSize64, size: GPUSize64 = buffer.size)
actual fun setIndexBuffer(buffer: Buffer, indexFormat: IndexFormat, offset: GPUSize64, size: GPUSize64)
actual fun setIndexBuffer(buffer: Buffer, indexFormat: IndexFormat, offset: GPUSize64, size: GPUSize64)
actual fun setIndexBuffer(buffer: Buffer, indexFormat: IndexFormat, offset: GPUSize64, size: GPUSize64)
Link copied to clipboard
expect fun setPipeline(renderPipeline: RenderPipeline)
actual fun setPipeline(renderPipeline: RenderPipeline)
actual fun setPipeline(renderPipeline: RenderPipeline)
actual fun setPipeline(renderPipeline: RenderPipeline)
Link copied to clipboard
actual fun setScissorRect(x: GPUIntegerCoordinate, y: GPUIntegerCoordinate, width: GPUIntegerCoordinate, height: GPUIntegerCoordinate)
actual fun setScissorRect(x: GPUIntegerCoordinate, y: GPUIntegerCoordinate, width: GPUIntegerCoordinate, height: GPUIntegerCoordinate)
Link copied to clipboard
expect fun setStencilReference(reference: GPUStencilValue)
actual fun setStencilReference(reference: GPUStencilValue)
actual fun setStencilReference(reference: GPUStencilValue)
actual fun setStencilReference(reference: GPUStencilValue)
Link copied to clipboard
expect fun setVertexBuffer(slot: GPUIndex32, buffer: Buffer)
actual fun setVertexBuffer(slot: GPUIndex32, buffer: Buffer)
actual fun setVertexBuffer(slot: GPUIndex32, buffer: Buffer)
actual fun setVertexBuffer(slot: GPUIndex32, buffer: Buffer)
Link copied to clipboard
expect fun setViewport(x: Float, y: Float, width: Float, height: Float, minDepth: Float, maxDepth: Float)
actual fun setViewport(x: Float, y: Float, width: Float, height: Float, minDepth: Float, maxDepth: Float)
actual fun setViewport(x: Float, y: Float, width: Float, height: Float, minDepth: Float, maxDepth: Float)
actual fun setViewport(x: Float, y: Float, width: Float, height: Float, minDepth: Float, maxDepth: Float)