ReflectSystemComponent.cpp 943 B

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 <Atom/RHI.Reflect/Vulkan/ReflectSystemComponent.h>
  9. #include <Atom/RHI.Reflect/Vulkan/ShaderStageFunction.h>
  10. #include <Atom/RHI.Reflect/Vulkan/PlatformLimitsDescriptor.h>
  11. #include <AzCore/Serialization/SerializeContext.h>
  12. namespace AZ
  13. {
  14. namespace Vulkan
  15. {
  16. void ReflectSystemComponent::Reflect(AZ::ReflectContext* context)
  17. {
  18. if (SerializeContext* serializeContext = azrtti_cast<SerializeContext*>(context))
  19. {
  20. serializeContext->Class<ReflectSystemComponent, AZ::Component>()
  21. ->Version(1);
  22. }
  23. ShaderStageFunction::Reflect(context);
  24. PlatformLimitsDescriptor::Reflect(context);
  25. }
  26. }
  27. }