Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

UnsafeUtility.IsValidAllocator

Declaration

public static bool IsValidAllocator(Unity.Collections.Allocator allocator);

Description

Returns true if the allocator label is valid and can be used to allocate or deallocate memory.