EgtGraphics 1.8h2 :
- aggiunte a Scene SetTextureMaxLinPixels e GetTextureImagePixels - aggiunte a TextureMgr SetTextureMaxLinPixels e GetImagePixels.
This commit is contained in:
@@ -17,6 +17,14 @@
|
||||
|
||||
using namespace std ;
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Scene::SetTextureMaxLinPixels( int nMaxLinPix)
|
||||
{
|
||||
return m_TextMgr.SetTextureMaxLinPixels( nMaxLinPix) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Scene::LoadTexture( const string& sName, const string& sFile,
|
||||
@@ -53,6 +61,13 @@ Scene::GetTexturePixels( const string& sName, int& nWidth, int& nHeight) const
|
||||
return m_TextMgr.GetPixels( sName, nWidth, nHeight) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Scene::GetTextureImagePixels( const string& sName, int& nWidth, int& nHeight) const
|
||||
{
|
||||
return m_TextMgr.GetImagePixels( sName, nWidth, nHeight) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
Scene::GetTextureDimensions( const string& sName, double& dDimX, double& dDimY) const
|
||||
|
||||
Reference in New Issue
Block a user