RayTracingDebugComponent.cpp 858 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. #include <Debug/RayTracingDebugComponent.h>
  9. namespace AZ::Render
  10. {
  11. RayTracingDebugComponent::RayTracingDebugComponent(const RayTracingDebugComponentConfig& config)
  12. : BaseClass{ config }
  13. {
  14. }
  15. void RayTracingDebugComponent::Reflect(ReflectContext* context)
  16. {
  17. BaseClass::Reflect(context);
  18. if (auto* serializeContext{ azrtti_cast<SerializeContext*>(context) })
  19. {
  20. // clang-format off
  21. serializeContext->Class<RayTracingDebugComponent, BaseClass>()
  22. ->Version(0)
  23. ;
  24. // clang-format on
  25. }
  26. }
  27. } // namespace AZ::Render