PreviewRendererIdleState.h 691 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #include <PreviewRenderer/PreviewRendererState.h>
  10. namespace AtomToolsFramework
  11. {
  12. //! PreviewRendererIdleState checks whether there are any new thumbnails that need to be rendered every tick
  13. class PreviewRendererIdleState final : public PreviewRendererState
  14. {
  15. public:
  16. PreviewRendererIdleState(PreviewRenderer* renderer);
  17. ~PreviewRendererIdleState();
  18. void Update() override;
  19. };
  20. } // namespace AtomToolsFramework