123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- /*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
- #pragma once
- #include <AzCore/Component/Component.h>
- #include <AzCore/Asset/AssetCommon.h>
- #include <Atom/RPI.Public/Pass/PassSystemInterface.h>
- namespace AZ
- {
- namespace Render
- {
- class DiffuseProbeGridSystemComponent final
- : public Component
- {
- public:
- AZ_COMPONENT(DiffuseProbeGridSystemComponent, "{8635A450-FBEC-49E2-A5E5-D8429352530B}");
- DiffuseProbeGridSystemComponent() = default;
- ~DiffuseProbeGridSystemComponent() = default;
- static void Reflect(ReflectContext* context);
- static void GetProvidedServices(ComponentDescriptor::DependencyArrayType& provided);
- static void GetIncompatibleServices(ComponentDescriptor::DependencyArrayType& incompatible);
- static void GetRequiredServices(ComponentDescriptor::DependencyArrayType& required);
- private:
- //! Loads the pass templates mapping file
- void LoadPassTemplateMappings();
- ////////////////////////////////////////////////////////////////////////
- // Component interface implementation
- void Activate() override;
- void Deactivate() override;
- ////////////////////////////////////////////////////////////////////////
- //! Used for loading the pass templates of the hair gem.
- RPI::PassSystemInterface::OnReadyLoadTemplatesEvent::Handler m_loadTemplatesHandler;
- };
- }
- }
|