BuilderModule.cpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. namespace AZ
  11. {
  12. namespace Render
  13. {
  14. /**
  15. * @class BuilderModule
  16. * @brief Exposes Atom Building components to the Asset Processor
  17. */
  18. class BuilderModule final
  19. : public AZ::Module
  20. {
  21. public:
  22. AZ_RTTI(BuilderModule, "{CAF0E749-130B-4C1D-8C68-6BD98D41177E}", AZ::Module);
  23. BuilderModule()
  24. {}
  25. AZ::ComponentTypeList GetRequiredSystemComponents() const override
  26. {
  27. return AZ::ComponentTypeList();
  28. }
  29. };
  30. } // namespace RPI
  31. } // namespace AZ
  32. #if defined(O3DE_GEM_NAME)
  33. AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME, _Builders), AZ::Render::BuilderModule)
  34. #else
  35. AZ_DECLARE_MODULE_CLASS(Gem_Atom_Feature_Common_Builders, AZ::Render::BuilderModule)
  36. #endif