关于
This skill provides a drop-in component for React Three Fiber (R3F) applications that monitors the rendering frame rate and automatically tunes the Device Pixel Ratio (DPR). By lowering resolution when FPS drops and increasing it during periods of high performance, it ensures a smooth user experience across varying hardware capabilities. It is particularly useful for graphics-intensive web games or complex 3D visualizations where maintaining a consistent frame rate is critical for immersion and playability.