cTexAtlas_L Class Reference

List of all members.

Public Member Functions

mixed Destroy (...)
mixed AddImage (...)
mixed MakeImage (...)
 void MakeImage (pImage)
mixed MakeTexture (...)
mixed LoadToTexture (...)

Static Public Member Functions

static mixed CreateTexAtlas (...)


Detailed Description

Definition at line 3324 of file lua_pseudo_code.cpp.


Member Function Documentation

mixed cTexAtlas_L::Destroy (   ...  )  [inline]

object methods exported to lua void Destroy ()

Definition at line 3328 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 3334 of file lua_pseudo_code.cpp.

mixed cTexAtlas_L::MakeImage (   ...  )  [inline]

void MakeImage (pImage)

Definition at line 3337 of file lua_pseudo_code.cpp.

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 3342 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 3346 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 3351 of file lua_pseudo_code.cpp.


The documentation for this class was generated from the following file:

Generated on Sat Jul 31 06:00:14 2010 for lua by  doxygen 1.5.6