void UpdateShader() override;
/**
- * @copydoc Visual::Base::OnGetPropertyObject
+ * @copydoc Visual::Base::GenerateShader
*/
- Dali::Property OnGetPropertyObject(Dali::Property::Key key) override;
+ Shader GenerateShader() const override;
-private:
/**
- * @brief Get a shader for the current properties.
- * @return The shader for the current properties.
+ * @copydoc Visual::Base::OnGetPropertyObject
*/
- Shader GetShader();
+ Dali::Property OnGetPropertyObject(Dali::Property::Key key) override;
private:
// Undefined
ColorVisual& operator=(const ColorVisual& colorRenderer);
private:
- float mBlurRadius; ///< The blur radius
- Property::Index mBlurRadiusIndex; ///< The blur radius property index
- bool mRenderIfTransparent; ///< Whether we should render even if the mix-color is transparent.
- bool mNeedBlurRadius; ///< Whether we need the blur radius in shader.
+ float mBlurRadius; ///< The blur radius
+ Property::Index mBlurRadiusIndex; ///< The blur radius property index
+ bool mNeedBlurRadius; ///< Whether we need the blur radius in shader.
};
} // namespace Internal