GPURenderEncoderBase

Functions

Link copied to clipboard
abstract fun draw(vertexCount: Int, instanceCount: Int = definedExternally, firstVertex: Int = definedExternally, firstInstance: Int = definedExternally)
Link copied to clipboard
abstract fun drawIndexed(indexCount: Int, instanceCount: Int = definedExternally, firstIndex: Int = definedExternally, baseVertex: Int = definedExternally, firstInstance: Int = definedExternally)
Link copied to clipboard
abstract fun drawIndexedIndirect(indirectBuffer: GPUBuffer, indirectOffset: Int)
Link copied to clipboard
abstract fun drawIndirect(indirectBuffer: GPUBuffer, indirectOffset: Int)
Link copied to clipboard
abstract fun setIndexBuffer(buffer: GPUBuffer, indexFormat: GPUIndexFormat, offset: Int = definedExternally, size: Int = definedExternally)
Link copied to clipboard
abstract fun setPipeline(pipeline: GPURenderPipeline)
Link copied to clipboard
abstract fun setVertexBuffer(slot: Int, buffer: GPUBuffer, offset: Int = definedExternally, size: Int = definedExternally)