build Mesh
inline fun CachedMeshStorage.buildMesh(pipeline: RenderPipeline, origin: BlockPos = BlockPos.ZERO, block: VertexConsumer.(pose: PoseStack, origin: BlockPos) -> Unit)
Build new mesh data and upload it.
Parameters
origin
a preferred origin; the lambda receives the resolved origin that must be used for relative vertex positions.