SFML community forums

General => General discussions => Topic started by: Bocaj on April 01, 2012, 08:47:59 pm

Title: Textures & Images
Post by: Bocaj on April 01, 2012, 08:47:59 pm
Sorry for my question (I am new to SFML).  What is the difference between a Texture and an Image, and why do Sprites only have a setTexture() function, and no setImage() function?
Title: Re: Textures & Images
Post by: Laurent on April 01, 2012, 08:59:29 pm
Have you read this:
http://en.sfml-dev.org/forums/index.php?topic=5503.0
http://www.sfml-dev.org/documentation/2.0/classsf_1_1Texture.php#details
http://www.sfml-dev.org/documentation/2.0/classsf_1_1Image.php#details
?
Title: Re: Textures & Images
Post by: Bocaj on April 01, 2012, 09:18:43 pm
Ok thanks