C++ (Qt)typedef std::tr1::shared_ptr<Texture> TexturePtr;class Banka ...{ Banka() { m_tex = TexMan::load( "pepsi" ); } void changeTex() { m_tex = TexMan::load( "coca" ); } private: TexturePtr m_tex;};
class Banka ...{ Banka() { m_tex = TexMan::load( "pepsi" ); }
C++ (Qt)bool Engine3D::IsTextureUsed( const Texture * ) const;
C++ (Qt)bool Engine3D::IsImageUsed( const Image * ) const;
C++ (Qt)void Engine3D::Draw( container <Object3D *> & iObject );