I have gone thorough the tutorials about load a image, but i don't have any idea how to get the "texture" image. Could anyone show me how to load a image,starting with a "normal" image?
Thanks!
Load images
If i get you right, than "normal" image is software image (IImage) and "texture" image is hardware image (ITexture).
Code: Select all
IImage* image = videoDriver->createImageFromFile("image.png");
ITexture* texture = videoDriver->addTexture("tex1", image);