Represents the vertex and index data allocated for drawing the content of a VisualElement.
You can use this object to fill the values for the vertices and indices only during a callback to the VisualElement.generateVisualContent delegate. Do not store the passed MeshWriteData outside the scope of VisualElement.generateVisualContent as Unity could recycle it for other callbacks.
| Property | Description |
|---|---|
| indexCount | The number of indices successfully allocated for VisualElement content drawing. |
| vertexCount | The number of vertices successfully allocated for VisualElement content drawing. |