1 /* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 #ifndef SCENEPLUGIN_INTF_RENDERCONFIGURATION_H 16 #define SCENEPLUGIN_INTF_RENDERCONFIGURATION_H 17 18 #include <scene_plugin/interface/intf_environment.h> 19 20 #include <meta/interface/intf_named.h> 21 22 SCENE_BEGIN_NAMESPACE() 23 24 // Implemented by SCENE_NS::ClassId::PostProcess 25 REGISTER_INTERFACE(IRenderConfiguration, "4d432499-8048-42ef-bca0-a73db61d5304") 26 class IRenderConfiguration : public META_NS::INamed { 27 META_INTERFACE(META_NS::INamed, IRenderConfiguration, InterfaceId::IRenderConfiguration) 28 public: 29 /** 30 * @brief Environment settings. 31 * @return 32 */ 33 META_PROPERTY(IEnvironment::Ptr, Environment) 34 }; 35 36 SCENE_END_NAMESPACE() 37 38 META_TYPE(SCENE_NS::IRenderConfiguration::WeakPtr); 39 META_TYPE(SCENE_NS::IRenderConfiguration::Ptr); 40 41 #endif // SCENEPLUGIN_INTF_RENDERCONFIGURATION_H 42