LyShineFeatureProcessor.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 <Atom/RPI.Public/FeatureProcessor.h>
  10. #include <Atom/RPI.Reflect/System/AnyAsset.h>
  11. #include <AzCore/Asset/AssetCommon.h>
  12. namespace LyShine
  13. {
  14. class LyShineFeatureProcessor final
  15. : public AZ::RPI::FeatureProcessor
  16. {
  17. public:
  18. AZ_CLASS_ALLOCATOR(LyShineFeatureProcessor, AZ::SystemAllocator)
  19. AZ_RTTI(LyShineFeatureProcessor, "{D6218A9D-5F27-4ACC-8F89-CCBDAFD24693}", AZ::RPI::FeatureProcessor);
  20. AZ_DISABLE_COPY_MOVE(LyShineFeatureProcessor);
  21. AZ_FEATURE_PROCESSOR(LyShineFeatureProcessor);
  22. static void Reflect(AZ::ReflectContext* context);
  23. LyShineFeatureProcessor() = default;
  24. ~LyShineFeatureProcessor() = default;
  25. private:
  26. // AZ::RPI::FeatureProcessor overrides...
  27. void AddRenderPasses(AZ::RPI::RenderPipeline* renderPipeline) override;
  28. AZ::Data::Asset<AZ::RPI::AnyAsset> m_passRequestAsset;
  29. };
  30. }