Exemple #1
0
 public void Destroy()
 {
     Native_FScriptSet.Destroy(ref this);
     ZeroMemory();
 }
Exemple #2
0
 public int FindIndex(IntPtr element, ref FScriptSetLayout layout, HashDelegates.GetKeyHash getKeyHash, HashDelegates.Equality equalityFn)
 {
     return(Native_FScriptSet.FindIndex(ref this, element, ref layout, getKeyHash, equalityFn));
 }
Exemple #3
0
 public void Add(IntPtr element, ref FScriptSetLayout layout, HashDelegates.GetKeyHash getKeyHash, HashDelegates.Equality equalityFn,
                 HashDelegates.Construct constructFn, HashDelegates.Destruct destructFn)
 {
     Native_FScriptSet.Add(ref this, element, ref layout, getKeyHash, equalityFn, constructFn, destructFn);
 }
Exemple #4
0
 public int AddUninitialized(ref FScriptSetLayout layout)
 {
     return(Native_FScriptSet.AddUninitialized(ref this, ref layout));
 }
Exemple #5
0
 public void Rehash(ref FScriptSetLayout layout, HashDelegates.GetKeyHash getKeyHash)
 {
     Native_FScriptSet.Rehash(ref this, ref layout, getKeyHash);
 }
Exemple #6
0
 public void Empty(int slack, ref FScriptSetLayout layout)
 {
     Native_FScriptSet.Empty(ref this, slack, ref layout);
 }
Exemple #7
0
 public void RemoveAt(int index, ref FScriptSetLayout layout)
 {
     Native_FScriptSet.RemoveAt(ref this, index, ref layout);
 }
Exemple #8
0
 public IntPtr GetData(int index, ref FScriptSetLayout layout)
 {
     return(Native_FScriptSet.GetData(ref this, index, ref layout));
 }
Exemple #9
0
 public int GetMaxIndex()
 {
     return(Native_FScriptSet.GetMaxIndex(ref this));
 }
Exemple #10
0
 public int Num()
 {
     return(Native_FScriptSet.Num(ref this));
 }
Exemple #11
0
 public bool IsValidIndex(int index)
 {
     return(Native_FScriptSet.IsValidIndex(ref this, index));
 }
Exemple #12
0
 public static FScriptSetLayout GetScriptLayout(int elementSize, int elementAlignment)
 {
     return(Native_FScriptSet.GetScriptLayout(elementSize, elementAlignment));
 }