public void Dispose() { if (!isValid) { GNativeArrayUtilities.Dispose(data); } }
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); }