DiffuseGlobalIlluminationComponentConfig.cpp 951 B

1234567891011121314151617181920212223242526272829
  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 <Components/DiffuseGlobalIlluminationComponentConfig.h>
  9. #include <AzCore/Serialization/SerializeContext.h>
  10. #include <AzCore/Serialization/EditContext.h>
  11. namespace AZ
  12. {
  13. namespace Render
  14. {
  15. void DiffuseGlobalIlluminationComponentConfig::Reflect(ReflectContext* context)
  16. {
  17. if (auto serializeContext = azrtti_cast<AZ::SerializeContext*>(context))
  18. {
  19. serializeContext->Class<DiffuseGlobalIlluminationComponentConfig, ComponentConfig>()
  20. ->Version(1)
  21. ->Field("QualityLevel", &DiffuseGlobalIlluminationComponentConfig::m_qualityLevel)
  22. ;
  23. }
  24. }
  25. } // namespace Render
  26. } // namespace AZ