Tizen 2.4.0 rev3 SDK Public Release
[framework/graphics/dali.git] / dali / internal / render / data-providers / render-data-provider.h
index cf3aeb6..fc15eb8 100644 (file)
@@ -110,11 +110,25 @@ public:
    */
   const Samplers& GetSamplers() const;
 
+  /**
+   * Set the use blend flag to decide if the renderer will perform blending
+   * @param[in] useBlend The flag to decide if the renderer will perform blending
+   */
+  void SetUseBlend( bool useBlend );
+
+  /**
+   * Get the use blend flag that decides if the renderer will perform blending
+   * @param[in] buffer index
+   * @return The use blend flag that decides if the renderer will perform blending
+   */
+  bool GetUseBlend( BufferIndex bufferIndex ) const;
+
 private:
   const MaterialDataProvider*   mMaterialDataProvider;
   const UniformMapDataProvider* mUniformMapDataProvider;
   Shader*                       mShader;
   Samplers                      mSamplers;
+  bool                          mUseBlend;
 
 // Give RendererAttachment access to our private data to reduce copying vectors on construction.
   friend class RendererAttachment;