ドキュメント

Unity Engine

Unity Engine

AllocatorManager.Range

A range of allocated memory.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public struct AllocatorManager.Range : IDisposable

Remarks

The name is perhaps misleading: only in combination with a AllocatorManager.Block does a
Range
have sufficient information to represent the number of bytes in an allocation. The reason
Range
is its own type that's separate from
Block
stems from some efficiency concerns in the implementation details. In most cases, a
Range
is only used in conjunction with an associated
Block
.

Fields

Value

Description

AllocatorThe allocator function used for this range.
ItemsNumber of items allocated in this range.
PointerPointer to the start of this range.

Methods

Method

Description

DisposeDeallocates the memory represented by this range.