HairModule.h 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. #pragma once
  9. #include <AzCore/Memory/SystemAllocator.h>
  10. #include <AzCore/Module/Module.h>
  11. namespace AZ
  12. {
  13. namespace Render
  14. {
  15. namespace Hair
  16. {
  17. class HairModule
  18. : public AZ::Module
  19. {
  20. public:
  21. AZ_RTTI(HairModule, "{0EF06CF0-8011-4668-A31F-A6851583EBDC}", AZ::Module);
  22. AZ_CLASS_ALLOCATOR(HairModule, AZ::SystemAllocator);
  23. HairModule();
  24. //! Add required SystemComponents to the SystemEntity.
  25. AZ::ComponentTypeList GetRequiredSystemComponents() const override;
  26. };
  27. } // namespace Hair
  28. } // namespace Render
  29. } // namespace AZ
  30. #if defined(O3DE_GEM_NAME)
  31. AZ_DECLARE_MODULE_CLASS(AZ_JOIN(Gem_, O3DE_GEM_NAME), AZ::Render::Hair::HairModule)
  32. #else
  33. AZ_DECLARE_MODULE_CLASS(Gem_AtomTressFX, AZ::Render::Hair::HairModule)
  34. #endif