Public Member Functions | |
| mixed | Destroy (...) |
| mixed | AddImage (...) |
| mixed | MakeImage (...) |
| void MakeImage (pImage) | |
| mixed | MakeTexture (...) |
| mixed | LoadToTexture (...) |
Static Public Member Functions | |
| static mixed | CreateTexAtlas (...) |
Definition at line 9498 of file lua_pseudo_code.cpp.
| mixed cTexAtlas_L::Destroy | ( | ... | ) | [inline] |
object methods exported to lua void Destroy ()
Definition at line 9502 of file lua_pseudo_code.cpp.
| mixed cTexAtlas_L::AddImage | ( | ... | ) | [inline] |
~ bool AddImage (Ogre::Image& pSrc,Ogre::Rectangle& pOutTexCoords,const int iBorderPixels=4); see also lugre::cImage : lua wrapper for Ogre::Image return true and texcoords (left,right,top,bottom) on success (false means error, no space left in atlas) bSuccess,l,r,t,b AddImage (pImage,iBorderPixels=4,bWrap=true)
Definition at line 9508 of file lua_pseudo_code.cpp.
| mixed cTexAtlas_L::MakeImage | ( | ... | ) | [inline] |
| mixed cTexAtlas_L::MakeTexture | ( | ... | ) | [inline] |
returns the texname, generates a unique name if no argument is passed no bIsAlpha possible here, the texatlas has to be in an alpha-only image format for that string MakeTexture (sNewTexName=nil)
Definition at line 9516 of file lua_pseudo_code.cpp.
| mixed cTexAtlas_L::LoadToTexture | ( | ... | ) | [inline] |
loads the image to an existing texture, returns true on success bool LoadToTexture (sTexName)
Definition at line 9520 of file lua_pseudo_code.cpp.
| static mixed cTexAtlas_L::CreateTexAtlas | ( | ... | ) | [inline, static] |
static methods exported to lua width and height in pixels, should be square and power of two udata CreateTexAtlas (w,h)
Definition at line 9525 of file lua_pseudo_code.cpp.
1.5.6