Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


MeshModificationContext

Per-invocation context passed to a MeshModificationCallback.
Read time 1 minuteLast updated 11 days ago

Definition

public ref struct MeshModificationContext

Properties

Property

Description

drawsThe generated draws for MeshModificationContext.element, in render order.
elementThe element whose draws this invocation is processing.

Methods

Method

Description

AddMeshModificationJobAdd a user-scheduled job to this element's post-processing dependency chain.
AllocateUIMeshAllocates a fresh temporary UIMesh sized for
vertexCount
vertices and
indexCount
indices, with slices for the requested extras
channels
.