X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Frender%2Fcommon%2Frender-instruction.h;h=f40ec04fc7527eab361e3757ccec635ef9289fd9;hb=d353bae63798f48237dc24c078c2e8cb2aa0bc62;hp=3d0d64b76f7a0d30c11de418df5c1a7631cfdb49;hpb=65a79b47d4e458d12f4de7417652e0800f5cc4a8;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/render/common/render-instruction.h b/dali/internal/render/common/render-instruction.h index 3d0d64b..f40ec04 100644 --- a/dali/internal/render/common/render-instruction.h +++ b/dali/internal/render/common/render-instruction.h @@ -2,7 +2,7 @@ #define DALI_INTERNAL_SCENE_GRAPH_RENDER_INSTRUCTION_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -24,6 +24,7 @@ #include #include #include +#include namespace Dali { @@ -123,6 +124,11 @@ public: // inlined as this is called once per frame per render instruction return &mCamera->GetFinalProjectionMatrix( index ); } + // for reflection effect + const Camera* GetCamera() const + { + return mCamera; + } private: @@ -143,6 +149,8 @@ public: // Data Render::FrameBuffer* mFrameBuffer; + Context* mContext; ///< The context holding the GL state of rendering + private: // Data Camera* mCamera; ///< camera that is used