Refactor error handling: use Error enum, update APIs
Replaces ErrorStatus with Error across all systems for consistency. Renames ResourceBarrierData fields to camelCase. Adds BindlessAccess enum and updates GetBindlessIndex API. Updates method signatures, result types, and error checks. Modernizes HLSL mesh shader syntax and fixes naming. Improves code style and updates comments for clarity.
This commit is contained in:
@@ -68,7 +68,6 @@ public sealed class RenderGraph : IDisposable
|
||||
Blackboard = new RenderGraphBlackboard();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Resets the render graph for a new frame.
|
||||
/// Reuses existing allocations to minimize GC.
|
||||
@@ -224,7 +223,7 @@ public sealed class RenderGraph : IDisposable
|
||||
{
|
||||
_compiler.Dispose();
|
||||
|
||||
// We need to reset the whole graph to return resources to the pool
|
||||
// HACK: Ideally, we should have a Dispose method. But for now, we just reset to release resources.
|
||||
Reset();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user