Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
General
»
General discussions
»
Textures & Images
Print
Pages: [
1
]
Author
Topic: Textures & Images (Read 2282 times)
0 Members and 1 Guest are viewing this topic.
Bocaj
Newbie
Posts: 32
Textures & Images
«
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?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: Textures & Images
«
Reply #1 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
?
Logged
Laurent Gomila - SFML developer
Bocaj
Newbie
Posts: 32
Re: Textures & Images
«
Reply #2 on:
April 01, 2012, 09:18:43 pm »
Ok thanks
Logged
Print
Pages: [
1
]
SFML community forums
»
General
»
General discussions
»
Textures & Images