Exemplo n.º 1
0
 public void Dispose()
 {
     if (!isValid)
     {
         GNativeArrayUtilities.Dispose(data);
     }
 }
Exemplo n.º 2
0
 internal void CleanUpNativeArrays()
 {
     GNativeArrayUtilities.Dispose(subdivNodeNativeArray);
     GNativeArrayUtilities.Dispose(subdivNodeCreationState);
     GNativeArrayUtilities.Dispose(vertexNativeArray);
     GNativeArrayUtilities.Dispose(uvsNativeArray);
     GNativeArrayUtilities.Dispose(normalsNativeArray);
     GNativeArrayUtilities.Dispose(trianglesNativeArray);
     GNativeArrayUtilities.Dispose(vertexColorsNativeArray);
     GNativeArrayUtilities.Dispose(generationMetadata);
     GNativeArrayUtilities.Dispose(vertexMarkerNativeArray);
 }