/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
return Toolkit::Visual::Base( visualPtr.Get() );
}
+Internal::TextureManager& VisualFactory::GetTextureManager()
+{
+ if( !mFactoryCache )
+ {
+ mFactoryCache = new VisualFactoryCache();
+ }
+ return mFactoryCache->GetTextureManager();
+}
+
} // namespace Internal
} // namespace Toolkit