{
class VisualFactoryCache;
+class ImageVisualShaderFactory;
/**
* @copydoc Toolkit::VisualFactory
*/
Internal::VisualFactoryCache& GetFactoryCache();
+ /**
+ * Get the image visual shader factory, creating it if necessary.
+ */
+ ImageVisualShaderFactory& GetImageVisualShaderFactory();
+
VisualFactory(const VisualFactory&) = delete;
VisualFactory& operator=(const VisualFactory& rhs) = delete;
private:
- std::unique_ptr<VisualFactoryCache> mFactoryCache;
- SlotDelegate< VisualFactory > mSlotDelegate;
- bool mDebugEnabled:1;
- bool mPreMultiplyOnLoad:1; ///< Local store for this flag
+ std::unique_ptr< VisualFactoryCache > mFactoryCache;
+ std::unique_ptr< ImageVisualShaderFactory > mImageVisualShaderFactory;
+ SlotDelegate< VisualFactory > mSlotDelegate;
+ bool mDebugEnabled:1;
+ bool mPreMultiplyOnLoad:1; ///< Local store for this flag
};
/**