HairBus.h 1017 B

12345678910111213141516171819202122232425262728293031323334353637
  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/Component/Component.h>
  10. namespace AZ
  11. {
  12. namespace Render
  13. {
  14. namespace Hair
  15. {
  16. class HairRequests
  17. : public ComponentBus
  18. {
  19. public:
  20. AZ_RTTI(HairRequests, "{923D6B94-C6AD-4B03-B8CC-DB7E708FB9F4}");
  21. /// Overrides the default AZ::EBusTraits handler policy to allow one listener only.
  22. static const EBusHandlerPolicy HandlerPolicy = EBusHandlerPolicy::Single;
  23. virtual ~HairRequests() {}
  24. // Add required getter and setter functions - matching the interface methods
  25. };
  26. typedef AZ::EBus<HairRequests> HairRequestsBus;
  27. } // namespace Hair
  28. } // namespace Render
  29. } // namespace AZ