/**
* @brief Set whether the Pre-multiplied Alpha Blending is required
*
- * @param[in] preMultipled whether alpha is pre-multiplied.
+ * @param[in] preMultiplied whether alpha is pre-multiplied.
*/
- void EnablePreMultipliedAlpha( bool preMultipled );
+ void EnablePreMultipliedAlpha( bool preMultiplied );
/**
* @brief Query whether alpha is pre-multiplied.
/**
* @brief Called when the visuals resources are loaded / ready
*/
- void ResourceReady();
+ void ResourceReady( Toolkit::Visual::ResourceStatus resourceStatus );
/**
* @brief Called when the visuals resources are loaded / ready
* @return true if ready, false otherwise
*/
- bool IsResourceReady() const;
+ virtual bool IsResourceReady() const;
+
+ /**
+ * @brief Get the loading state of the visual resource
+ * @return Return the loading status (PREPARING, READY and FAILED) of visual resource
+ */
+ Toolkit::Visual::ResourceStatus GetResourceStatus() const;
protected: