HairAssetBuilder.h 1.1 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. #pragma once
  9. #include <AssetBuilderSDK/AssetBuilderSDK.h>
  10. namespace AZ
  11. {
  12. namespace Render
  13. {
  14. namespace Hair
  15. {
  16. class HairAssetBuilder final
  17. : public AssetBuilderSDK::AssetBuilderCommandBus::Handler
  18. {
  19. public:
  20. AZ_RTTI(HairAssetBuilder, "{7D77A133-115E-4A14-860D-C1DB9422C190}");
  21. void RegisterBuilder();
  22. //! AssetBuilderSDK::AssetBuilderCommandBus interface
  23. void ShutDown() override;
  24. void CreateJobs(const AssetBuilderSDK::CreateJobsRequest& request, AssetBuilderSDK::CreateJobsResponse& response);
  25. void ProcessJob(const AssetBuilderSDK::ProcessJobRequest& request, AssetBuilderSDK::ProcessJobResponse& response);
  26. private:
  27. bool m_isShuttingDown = false;
  28. };
  29. }
  30. } // namespace Render
  31. } // namespace AZ