3
0

TestAssetBuilderModule.cpp 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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/Memory/SystemAllocator.h>
  9. #include <AzCore/Module/Module.h>
  10. #include <Builder/TestAssetBuilderComponent.h>
  11. #include <Builder/TestIntermediateAssetBuilderComponent.h>
  12. #include <Builder/TestDependencyBuilderComponent.h>
  13. namespace TestAssetBuilder
  14. {
  15. class TestAssetBuilderModule
  16. : public AZ::Module
  17. {
  18. public:
  19. AZ_RTTI(TestAssetBuilderModule, "{E1BD9AEE-8A56-4BA5-8FD7-7B9DD5DCBADB}", AZ::Module);
  20. AZ_CLASS_ALLOCATOR(TestAssetBuilderModule, AZ::SystemAllocator);
  21. TestAssetBuilderModule()
  22. : AZ::Module()
  23. {
  24. m_descriptors.insert(m_descriptors.end(), {
  25. TestAssetBuilderComponent::CreateDescriptor(),
  26. TestIntermediateAssetBuilderComponent::CreateDescriptor(),
  27. TestDependencyBuilderComponent::CreateDescriptor(),
  28. });
  29. }
  30. };
  31. }
  32. // DO NOT MODIFY THIS LINE UNLESS YOU RENAME THE GEM
  33. // The first parameter should be GemName_GemIdLower
  34. // The second should be the fully qualified name of the class above
  35. AZ_DECLARE_MODULE_CLASS(Gem_TestAssetBuilder, TestAssetBuilder::TestAssetBuilderModule)