Added handling of pointers, huge memory improvements

This commit is contained in:
Samuele Lorefice
2025-02-20 19:58:33 +01:00
parent 6d565377a4
commit b171b65aa5
4 changed files with 85 additions and 49 deletions

7
BlendFile/FileInfoExt.cs Normal file
View File

@@ -0,0 +1,7 @@
using System.Reflection;
namespace BlendFile;
public static class FileInfoExt {
static bool IsFieldPointer(this FieldInfo field) => field.GetCustomAttribute<DNAFieldAttribute>()!.IsPointer;
}