DllMain.cpp 723 B

12345678910111213141516171819202122232425
  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. #if !defined(AZ_MONOLITHIC_BUILD)
  9. #include <Atom/RPI.Public/SceneBus.h>
  10. #include <Atom/RPI.Public/Shader/ShaderReloadNotificationBus.h>
  11. #include <AzCore/PlatformDef.h>
  12. #include <AzCore/Serialization/SerializeContext.h>
  13. extern "C" AZ_DLL_EXPORT void CleanUpRpiPublicGenericClassInfo()
  14. {
  15. AZ::GetCurrentSerializeContextModule().Cleanup();
  16. }
  17. #endif
  18. DECLARE_EBUS_INSTANTIATION_DLL_MULTI_ADDRESS(RPI::SceneNotification);
  19. DECLARE_EBUS_INSTANTIATION_DLL_MULTI_ADDRESS(RPI::ShaderReloadNotifications);