VISH
0.2
|
A handler for texture creation and release. More...
#include </home/werner/origo/vish/ocean/GLvish/TextureID.hpp>
A handler for texture creation and release.
There are no functions to actually create the texture here, there is just a place to hold one. This texture reference may vanish at any time due to the cache management system. This will not work if a strong reference to the texture is kept elsewhere. It is up to the application code to check whether such a texture object exists, and if not, create and set an appropriate one.
override MemCore::RefPtr<TextureBase> Wizt::TextureCreator::create | ( | ) | [inline, virtual] |
override const std::type_info& Wizt::TextureCreator::getType | ( | ) | [inline, virtual] |
Query the associated value type of this creator object.
This type information can possibly be determined without actually loading any data. Whether or not this is the case is up to the implementation of the child class.
Implements MemCore::CreatorBase< TextureBase >.