Struct UnsafePtrList
Syntax
public struct UnsafePtrList
Fields
m_capacity
Declaration
Field Value
Type |
Description |
System.Int32 |
|
m_pointer
Declaration
Field Value
Type |
Description |
System.Void** |
|
m_size
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Methods
Add(Void*, Allocator)
Declaration
public void Add(void *t, Allocator allocator = null)
Parameters
Type |
Name |
Description |
System.Void* |
t |
|
Allocator |
allocator |
|
Append(UnsafePtrList)
Declaration
public void Append(UnsafePtrList src)
Parameters
Contains(Void*)
Declaration
public bool Contains(void *t)
Parameters
Type |
Name |
Description |
System.Void* |
t |
|
Returns
Type |
Description |
System.Boolean |
|
Dispose(Allocator)
Declaration
public void Dispose(Allocator allocator = null)
Parameters
Type |
Name |
Description |
Allocator |
allocator |
|
GetUnsafeList()
Declaration
public UnsafeList GetUnsafeList()
Returns
IndexOf(Void*)
Declaration
public int IndexOf(void *t)
Parameters
Type |
Name |
Description |
System.Void* |
t |
|
Returns
Type |
Description |
System.Int32 |
|
RemoveAtSwapBack(Int32)
Declaration
public void RemoveAtSwapBack(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
RemoveAtSwapBack(Int32, Void*)
Declaration
public void RemoveAtSwapBack(int index, void *expectedValue)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
System.Void* |
expectedValue |
|
RemoveRangeSwapBack(Int32, Int32)
Declaration
public void RemoveRangeSwapBack(int begin, int end)
Parameters
Type |
Name |
Description |
System.Int32 |
begin |
|
System.Int32 |
end |
|
Resize(Int32, Allocator)
Declaration
public void Resize(int targetSize, Allocator allocator = null)
Parameters
Type |
Name |
Description |
System.Int32 |
targetSize |
|
Allocator |
allocator |
|
SetCapacity(Int32, Allocator)
Declaration
public void SetCapacity(int targetCapacity, Allocator allocator = null)
Parameters
Type |
Name |
Description |
System.Int32 |
targetCapacity |
|
Allocator |
allocator |
|
Extension Methods