/* * 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 * */ #include #include #include #include #include #include #include namespace AtomSampleViewer { namespace Tools { void AtomSampleViewerToolsSystemComponent::Reflect(AZ::ReflectContext* context) { if (auto* serialize = azrtti_cast(context)) { serialize->Class() ->Version(0) ; } StacksShaderCollectionFunctorSourceData::Reflect(context); StacksShaderInputFunctorSourceData::Reflect(context); } void AtomSampleViewerToolsSystemComponent::Activate() { AZ::RPI::MaterialFunctorSourceDataRegistration::Get()->RegisterMaterialFunctor("StacksShaderCollection", azrtti_typeid()); AZ::RPI::MaterialFunctorSourceDataRegistration::Get()->RegisterMaterialFunctor("StacksShaderInput", azrtti_typeid()); } void AtomSampleViewerToolsSystemComponent::Deactivate() { } } // namespace Tools } // namespace AtomSampleViewer