SkinnedMeshSystemComponent.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. class SkinnedMeshVertexStreamProperties;
  15. class SkinnedMeshOutputStreamManager;
  16. class SkinnedMeshSystemComponent
  17. : public Component
  18. {
  19. public:
  20. AZ_COMPONENT(SkinnedMeshSystemComponent, "{5B36DCDC-9120-4C12-8594-8D0F8E9A7197}");
  21. SkinnedMeshSystemComponent();
  22. ~SkinnedMeshSystemComponent();
  23. static void Reflect(ReflectContext* context);
  24. static void GetProvidedServices(ComponentDescriptor::DependencyArrayType& provided);
  25. static void GetIncompatibleServices(ComponentDescriptor::DependencyArrayType& incompatible);
  26. static void GetRequiredServices(ComponentDescriptor::DependencyArrayType& required);
  27. protected:
  28. ////////////////////////////////////////////////////////////////////////
  29. // Component interface implementation
  30. void Init() override;
  31. void Activate() override;
  32. void Deactivate() override;
  33. ////////////////////////////////////////////////////////////////////////
  34. AZStd::unique_ptr<SkinnedMeshVertexStreamProperties> m_vertexStreamProperties;
  35. AZStd::unique_ptr<SkinnedMeshOutputStreamManager> m_outputStreamManager;
  36. };
  37. } // End Render namespace
  38. } // End AZ namespace