Struct HeapBlock
Represents a block of memory that you can use in a HeapAllocator to manage memory.
Namespace: Unity.Rendering
Assembly: solution.dll
Syntax
public struct HeapBlock
Properties
Name | Description |
---|---|
Empty | Indicates whether the HeapBlock is empty. This is true if the HeapBlock is empty and false otherwise. |
Length | The length of the HeapBlock. |
begin | The beginning of the allocated heap block. |
end | The end of the allocated heap block. |
Methods
Name | Description |
---|---|
CompareTo(HeapBlock) | Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object. |
Equals(HeapBlock) | Indicates whether the current object is equal to another object of the same type. |