SMAAConfigurationDescriptor.cpp 1.1 KB

12345678910111213141516171819202122232425262728293031
  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 <PostProcessing/SMAAConfigurationDescriptor.h>
  9. namespace AZ
  10. {
  11. namespace Render
  12. {
  13. void SMAAConfigurationDescriptor::Reflect(AZ::ReflectContext* context)
  14. {
  15. if (auto* serializeContext = azrtti_cast<AZ::SerializeContext*>(context))
  16. {
  17. serializeContext->Class<SMAAConfigurationDescriptor>()
  18. ->Version(1)
  19. ->Field("Name", &SMAAConfigurationDescriptor::m_name)
  20. ->Field("Enable", &SMAAConfigurationDescriptor::m_enable)
  21. ->Field("EdgeDetectionMode", &SMAAConfigurationDescriptor::m_edgeDetectionMode)
  22. ->Field("OutputMode", &SMAAConfigurationDescriptor::m_outputMode)
  23. ->Field("Quality", &SMAAConfigurationDescriptor::m_quality)
  24. ;
  25. }
  26. }
  27. } // namespace Render
  28. } // namespace AZ