EditorModule.cpp 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 <AzCore/RTTI/RTTI.h>
  9. #include <AzCore/Module/Module.h>
  10. #include <RPI.Private/Module.h>
  11. #include <RPI.Private/RPISystemComponent.h>
  12. namespace AZ
  13. {
  14. namespace RPI
  15. {
  16. class EditorModule final
  17. : public AZ::RPI::Module
  18. {
  19. public:
  20. AZ_RTTI(EditorModule, "{F2DF5DD9-1323-436C-B0E5-B200B8709CE5}", AZ::RPI::Module);
  21. EditorModule()
  22. : AZ::RPI::Module()
  23. {
  24. }
  25. AZ::ComponentTypeList GetRequiredSystemComponents() const override
  26. {
  27. AZ::ComponentTypeList ctl = AZ::RPI::Module::GetRequiredSystemComponents();
  28. // add any editor module required systems here.
  29. return ctl;
  30. }
  31. };
  32. } // namespace RPI
  33. } // namespace RPI
  34. // DO NOT MODIFY THIS LINE UNLESS YOU RENAME THE GEM
  35. // The first parameter should be GemName_GemIdLower
  36. // The second should be the fully qualified name of the class above
  37. AZ_DECLARE_MODULE_CLASS(Gem_Atom_RPI_Editor, AZ::RPI::EditorModule);