示例#1
0
 public void Dispose()
 {
     Native_FScriptArray.Destroy(ref Array);
     if (isPooled)
     {
         FStringPool.Return(this);
     }
 }
示例#2
0
 public void Destroy()
 {
     Native_FScriptArray.Destroy(ref this);
     ZeroMemory();
 }
示例#3
0
 public int GetSlack()
 {
     return(Native_FScriptArray.GetSlack(ref this));
 }
示例#4
0
 public void RemoveAt(int index, int numBytesPerElement, int count)
 {
     Native_FScriptArray.Remove(ref this, index, count, numBytesPerElement);
 }
示例#5
0
 public void Empty(int slack, int numBytesPerElement)
 {
     Native_FScriptArray.Empty(ref this, slack, numBytesPerElement);
 }
示例#6
0
 public void SwapMemory(int a, int b, int numBytesPerElement)
 {
     Native_FScriptArray.SwapMemory(ref this, a, b, numBytesPerElement);
 }
示例#7
0
 public void Shrink(int numBytesPerElement)
 {
     Native_FScriptArray.Shrink(ref this, numBytesPerElement);
 }
示例#8
0
 public int AddZeroed(int numBytesPerElement, int count)
 {
     return(Native_FScriptArray.AddZeroed(ref this, count, numBytesPerElement));
 }
示例#9
0
 public void Insert(int index, int numBytesPerElement, int count)
 {
     // Check if the index is beyond the count?
     Native_FScriptArray.Insert(ref this, index, count, numBytesPerElement);
 }
示例#10
0
 public void InsertZeroed(int index, int numBytesPerElement, int count)
 {
     Native_FScriptArray.InsertZeroed(ref this, index, count, numBytesPerElement);
 }
示例#11
0
 public bool IsValidIndex(int index)
 {
     return(Native_FScriptArray.IsValidIndex(ref this, index));
 }