OpenXRVkModule.cpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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. namespace AZ
  11. {
  12. namespace OpenXRVk
  13. {
  14. /**
  15. * This module is in charge of loading the RHI reflection descriptor and the
  16. * system components in charge of managing the different factory backends.
  17. */
  18. class Module
  19. : public AZ::Module
  20. {
  21. public:
  22. AZ_RTTI(PlatformModule, "{C34AA64E-0983-4D30-A33C-0D7C7676A20E}", AZ::Module);
  23. AZ_CLASS_ALLOCATOR(PlatformModule, AZ::SystemAllocator, 0);
  24. PlatformModule()
  25. : AZ::Module()
  26. {
  27. }
  28. };
  29. }
  30. }
  31. // DO NOT MODIFY THIS LINE UNLESS YOU RENAME THE GEM
  32. // The first parameter should be GemName_GemIdLower
  33. // The second should be the fully qualified name of the class above
  34. AZ_DECLARE_MODULE_CLASS(Gem_OpenXRVk, AZ::OpenXRVk::PlatformModule)