Code: Select all
irr::video::ITexture* texture = driver->getTexture("image.png");
driver->draw2DImage(texture,destRect,sourceRect,0,0,true);
Code: Select all
irr::video::ITexture* texture = driver->getTexture("image.png");
driver->draw2DImage(texture,destRect,sourceRect,0,0,true);
"virtual" does not affect the type returned by the function, it's to allow derived classes to redefine inherited functions. http://www.cplusplus.com/doc/tutorial/p ... al_membersAsimov wrote:I know what a bool is, but not sure what a virtual bool is.
Sorry, my mistake.The_Glitch wrote:Nowhere in my code which is just Irrlicht's simple RTT example do I say use OpenGL drivers but then pass an HLSL shader.