Add dynamic render quality settings and scaling
Introduce a RenderQuality enum (Low/Medium/High) and allow users to switch quality at runtime via keyboard shortcuts. The fractal renderer now adapts its internal resolution, particle counts, and computational workload based on selected quality and real-time performance, aiming to maintain a target FPS. HUD and window title display current quality and FPS. Renderer buffers and limits are dynamically resized on window or quality changes for improved performance and flexibility.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
namespace FractalVisualizer.Rendering;
|
||||
|
||||
public enum RenderQuality
|
||||
{
|
||||
Low = 0,
|
||||
Medium = 1,
|
||||
High = 2
|
||||
}
|
||||
Reference in New Issue
Block a user