RayTracingDebugEditorComponent.h 1.2 KB

123456789101112131415161718192021222324252627282930313233
  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 <AtomLyIntegration/CommonFeatures/Debug/RayTracingDebugComponentConfig.h>
  10. #include <AzToolsFramework/ToolsComponents/EditorComponentAdapter.h>
  11. #include <Debug/RayTracingDebugComponent.h>
  12. #include <Debug/RayTracingDebugComponentController.h>
  13. namespace AZ::Render
  14. {
  15. class RayTracingDebugEditorComponent final
  16. : public AzToolsFramework::Components::
  17. EditorComponentAdapter<RayTracingDebugComponentController, RayTracingDebugComponent, RayTracingDebugComponentConfig>
  18. {
  19. public:
  20. using BaseClass = AzToolsFramework::Components::
  21. EditorComponentAdapter<RayTracingDebugComponentController, RayTracingDebugComponent, RayTracingDebugComponentConfig>;
  22. AZ_EDITOR_COMPONENT(RayTracingDebugEditorComponent, "{352A6033-4127-4A8D-BE8A-3FA1267B02EB}", BaseClass);
  23. static void Reflect(ReflectContext* context);
  24. // EditorComponentAdapter overrides
  25. u32 OnConfigurationChanged() override;
  26. };
  27. } // namespace AZ::Render