MeshGenerationContext.GetTempMeshAllocator

Declaration

public void GetTempMeshAllocator(out UIElements.TempMeshAllocator allocator);

Parameters

allocator The allocator.

Description

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 AllocateTempMesh.


Did you find this page useful? Please give it a rating: