+ bool GetNPatchData( const NPatchData::NPatchDataId id, const NPatchData*& data );
+
+ /**
+ * @brief Remove a texture matching id.
+ * Erase the observer from the observer list of cache.
+ * If the observer list is empty, the textureSet will be reset.
+ *
+ * @param [in] id cache data id
+ * @param [in] textureObserver The NPatchVisual that requested loading.
+ */
+ void Remove( std::size_t id, TextureUploadObserver* textureObserver );
+
+private:
+
+ NPatchData::NPatchDataId GenerateUniqueNPatchDataId();
+
+ int32_t GetCacheIndexFromId( const NPatchData::NPatchDataId id );