X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-scene-loader%2Fpublic-api%2Fshader-definition.h;h=5d0a49ec204ed523ee4df66a70825720da9192f9;hb=1bc53ac578137a8f0f0ecedb30a6d76dc9d743c2;hp=29693fbc2048e288bbac57573fc9328eb5daf21a;hpb=7a315fe9869206bf6ad3195931f27d88fe9c128e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-scene-loader/public-api/shader-definition.h b/dali-scene-loader/public-api/shader-definition.h index 29693fb..5d0a49e 100644 --- a/dali-scene-loader/public-api/shader-definition.h +++ b/dali-scene-loader/public-api/shader-definition.h @@ -1,7 +1,7 @@ #ifndef DALI_SCENE_LOADER_SHADER_DEFINITION_H #define DALI_SCENE_LOADER_SHADER_DEFINITION_H /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,15 +21,14 @@ #include "dali-scene-loader/public-api/renderer-state.h" // EXTERNAL INCLUDES +#include #include "dali/public-api/common/vector-wrapper.h" #include "dali/public-api/rendering/shader.h" -#include namespace Dali { namespace SceneLoader { - /* * @brief Defines a shader with paths to the files which define its * vertex and fragment components, and a mapping of uniform names (which are @@ -76,15 +75,15 @@ struct DALI_SCENE_LOADER_API ShaderDefinition public: // DATA RendererState::Type mRendererState = RendererState::NONE; - std::string mVertexShaderPath; - std::string mFragmentShaderPath; + std::string mVertexShaderPath; + std::string mFragmentShaderPath; std::vector mDefines; std::vector mHints; - - Property::Map mUniforms; + Property::Map mUniforms; + bool mUseBuiltInShader; }; -} -} +} // namespace SceneLoader +} // namespace Dali #endif //DALI_SCENE_LOADER_SHADER_DEFINITION_H