feat(meshopt): add typed enums and improve naming logic
Introduce SimplifyOptions and SimplifyVertexOptions enums for mesh simplification, replacing magic numbers with type-safe flags. Update MeshOptApi with strongly-typed wrapper methods. Refactor MeshletUtility to use new enums and nullable delegates, and fix stride calculation for pointer arithmetic. Rename NamingConventions.GetMethodName to GetName, update name removal logic to use "$TBare", and add ALL_CAPS style for constants. Update config files to match new naming conventions and add ALL_CAPS constant rule for meshopt. Refactor BindingParser and related classes to support constant member kind. Apply minor bug fixes and code style improvements throughout.
This commit is contained in:
@@ -18,7 +18,6 @@ public sealed class NativeStruct
|
||||
public required bool IsList { get; init; }
|
||||
public required bool IsPointerList { get; init; }
|
||||
public string? ListElementType { get; init; }
|
||||
public required bool IsElementLike { get; init; }
|
||||
}
|
||||
|
||||
public sealed class NativeEnum
|
||||
@@ -52,4 +51,5 @@ public enum NativeMemberKind
|
||||
{
|
||||
Field,
|
||||
Property,
|
||||
Constant,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user