GraphicsProfilerSystemComponent.h 936 B

1234567891011121314151617181920212223242526272829303132
  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 <AzCore/Component/Component.h>
  10. namespace AZ::RHI
  11. {
  12. class ReflectContext;
  13. //! System Component in charge of registering the GraphicsProfilerBus into the BehaviorContext
  14. //! so it can be accessed from the scripting side.
  15. class GraphicsProfilerSystemComponent
  16. : public AZ::Component
  17. {
  18. public:
  19. GraphicsProfilerSystemComponent() = default;
  20. virtual ~GraphicsProfilerSystemComponent() = default;
  21. AZ_COMPONENT(GraphicsProfilerSystemComponent, "{75DEEB83-411F-41DF-9429-74AC2DEC8B9C}");
  22. static void Reflect(AZ::ReflectContext* context);
  23. private:
  24. void Activate() override {}
  25. void Deactivate() override {}
  26. };
  27. }