|
Public Member Functions |
| void | clear () |
| TextureRef | get (const TextureInfo &k) |
| TextureRef | get (Image *src, const std::string &name, const G3D::TextureFormat *, Texture::WrapMode, Texture::InterpolateMode, Texture::Dimension=Texture::DIM_2D, Texture::DepthReadMode=Texture::DEPTH_NORMAL) |
| TextureRef | get (const int &w, const int &h, const std::string &name, const G3D::TextureFormat *, Texture::WrapMode, Texture::InterpolateMode, Texture::Dimension=Texture::DIM_2D, Texture::DepthReadMode=Texture::DEPTH_NORMAL) |
| TextureRef | get (const std::string &file, const G3D::TextureFormat *, Texture::WrapMode, Texture::InterpolateMode, Texture::Dimension=Texture::DIM_2D, Texture::DepthReadMode=Texture::DEPTH_NORMAL) |
| TextureRef | get (std::string files[6], const G3D::TextureFormat *frm=G3D::TextureFormat::AUTO, Texture::WrapMode wrp=Texture::CLAMP, Texture::InterpolateMode intr=Texture::TRILINEAR_MIPMAP, Texture::DepthReadMode dep=Texture::DEPTH_NORMAL) |
| Sto | get (const Key &k) |
| unsigned int | getCount () const |
| bool | isCached (const TextureInfo &k) const |
| bool | isCached (const Key &k) const |
| void | loadRequested () |
| | loads a texture if a request is pending
|
| void | remove (const TextureInfo &k) |
| void | remove (const Key &k) |
| | SynchedTextureManager () |
| | ~SynchedTextureManager () |
Protected Member Functions |
| virtual TextureRef | create (const TextureInfo &)=0 |
| virtual Sto | create (const Key &)=0 |
| ONE::render::TextureRef | create (const ONE::render::TextureInfo &) |
| | creates a texture in the main thread
|
| void | dispose (TextureRef &) |
| virtual void | dispose (Sto &)=0 |
| virtual std::string | toString (const TextureInfo &) const =0 |
| std::string | toString (const TextureInfo &) const |
| virtual std::string | toString (const Key &) const =0 |