feat(wrapper): span-based interop, resource API refactor
Refactored native wrappers to use ReadOnlySpan<T> for pointer parameters, improving .NET safety and interop. Enhanced wrapper generator with $TYPE and prefix/suffix-based parameter remapping. Added platform-specific native library loading for meshoptimizer, nvtt, and ufbx. Updated D3D12GraphicsEngineFactory for native DLL resolution and removed redundant logic from UnitTestApp. Changed RenderGraphBuilder's resource extraction API to use QueryTextureExtraction/QueryBufferExtraction with explicit handles and flags. Removed IRenderer and D3D12Renderer, moving RenderContext to RenderPipeline. Improved mesh loading, resource management, and updated test shader conventions. Updated project references, build settings, and added launchSettings.json for tooling. BREAKING CHANGE: Native wrapper APIs now use ReadOnlySpan<T> instead of pointers. RenderGraphBuilder resource extraction API has changed. IRenderer and D3D12Renderer have been removed.
This commit is contained in:
@@ -40,8 +40,10 @@ public sealed class RemapConfig
|
||||
/// </summary>
|
||||
public sealed class DerivesFromConfig
|
||||
{
|
||||
/// <summary>The prefix of the sibling parameter name to consume (e.g. "name_").</summary>
|
||||
public string ParamPrefix { get; init; } = string.Empty;
|
||||
/// <summary>The suffix of the sibling parameter name to consume (e.g. "_len").</summary>
|
||||
public required string ParamSuffix { get; init; }
|
||||
public string ParamSuffix { get; init; } = string.Empty;
|
||||
/// <summary>Expression to pass in place of the consumed parameter. $arg is replaced with the source param name.</summary>
|
||||
public required string Expr { get; init; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user