/* * 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 #include #include #include namespace AZ { namespace Metal { class ShaderPlatformInterfaceSystemComponent final : public AZ::Component { public: AZ_COMPONENT(ShaderPlatformInterfaceSystemComponent, "{3DBB9EB3-5978-4822-89C0-480B93A9A9FD}"); static void Reflect(AZ::ReflectContext* context); ShaderPlatformInterfaceSystemComponent() = default; ~ShaderPlatformInterfaceSystemComponent() override = default; static void GetDependentServices(AZ::ComponentDescriptor::DependencyArrayType& dependent); // AZ::Component void Activate() override; void Deactivate() override; private: ShaderPlatformInterfaceSystemComponent(const ShaderPlatformInterfaceSystemComponent&) = delete; AZStd::unique_ptr m_shaderPlatformInterface; }; } // namespace Metal } // namespace AZ