AtomBackend.h 1.3 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. #pragma once
  9. #include <AzCore/Memory/Memory.h>
  10. #include <AzCore/RTTI/RTTI.h>
  11. #include <Integration/Rendering/RenderBackend.h>
  12. namespace AZ
  13. {
  14. namespace Render
  15. {
  16. class AtomBackend
  17. : public EMotionFX::Integration::RenderBackend
  18. {
  19. public:
  20. AZ_RTTI(AtomBackend, "{05961B40-B0B3-459A-8FB1-742778CC7BF7}", EMotionFX::Integration::RenderBackend);
  21. AZ_CLASS_ALLOCATOR_DECL;
  22. EMotionFX::Integration::RenderActor * CreateActor(EMotionFX::Integration::ActorAsset * asset) override;
  23. EMotionFX::Integration::RenderActorInstance* CreateActorInstance(AZ::EntityId entityId,
  24. const EMotionFX::Integration::EMotionFXPtr<EMotionFX::ActorInstance>& actorInstance,
  25. const AZ::Data::Asset<EMotionFX::Integration::ActorAsset>& asset,
  26. EMotionFX::Integration::SkinningMethod skinningMethod,
  27. const AZ::Transform& worldTransform,
  28. bool raytracingEnabled) override;
  29. };
  30. } // namespace Render
  31. } // namespace AZ