Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsValidAllocator(Allocator)

Returns true if the allocator label is valid and can be used to allocate or deallocate memory.
Read time 1 minuteLast updated 12 days ago

Definition

public static bool IsValidAllocator(Allocator allocator)

Parameters

allocator

Returns

Type

Description

bool