# GetTempMeshAllocator(out TempMeshAllocator)

> Returns an allocator that can be used to safely allocate temporary meshes from the job system. The meshes have the same scope as those allocated by MeshGenerationContext.AllocateTempMesh.

## Definition

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

## GetTempMeshAllocator(TempMeshAllocator)

```csharp
public void GetTempMeshAllocator(out TempMeshAllocator allocator)
```

### Parameters

**** (\[TempMeshAllocator]\(/engine/6000.0/script-reference/unityengine/uielements/tempmeshallocator)): The allocator.
