Companion

object Companion

Functions

Link copied to clipboard
fun RenderPass.bindAndDraw(meshDraw: MeshDraw)

Bind mesh buffers and issue one indexed draw call.

Link copied to clipboard
@JvmName(name = "create")
fun MeshData.toMeshDraw(pipeline: RenderPipeline, vboGetter: Function<VertexFormat, GrowableMappableRingBuffer> = sharedVboGetter, iboGetter: Function<VertexFormat.IndexType, GrowableMappableRingBuffer> = sharedIboGetter): MeshDraw

Sort Quads (If needed) and upload vertices and indices of MeshData to given GrowableMappableRingBuffer.