# TempMeshAllocator

> Used in jobs to allocate UI Toolkit temporary meshes.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEngine.UIElements](/engine/6000.0/script-reference/unityengine/uielements.md)
* **Assembly:** UnityEngine.UIElementsModule

```csharp
public struct TempMeshAllocator
```

## Methods

| Method                                                                                                           | Description                                                                        |
| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| [AllocateTempMesh](/engine/6000.0/script-reference/unityengine/uielements/tempmeshallocator/allocatetempmesh.md) | Allocates the specified number of vertices and indices from a temporary allocator. |
