MCPcopy Create free account
hub / github.com/MyGUI/mygui / createManual

Method createManual

Platforms/Ogre/OgrePlatform/src/MyGUI_OgreTexture.cpp:195–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193 }
194
195 void OgreTexture::createManual(int _width, int _height, TextureUsage _usage, PixelFormat _format)
196 {
197 setFormat(_format);
198 setUsage(_usage);
199
200 mTexture = Ogre::TextureManager::getSingleton()
201 .createManual(mName, mGroup, Ogre::TEX_TYPE_2D, _width, _height, 0, mPixelFormat, mUsage, this);
202
203 mTexture->load();
204 }
205
206 void OgreTexture::loadFromFile(const std::string& _filename)
207 {

Callers

nothing calls this directly

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected