SFML community forums

Help => Graphics => Topic started by: powf on January 09, 2013, 09:39:43 pm

Title: Quick Texture questions
Post by: powf on January 09, 2013, 09:39:43 pm
If I make two (or more) texture objects from the same file, do they point to the same texture data? If not, is it recommended to try to make them do so to avoid wasting memory?
Title: Re: Quick Texture questions
Post by: FRex on January 09, 2013, 09:47:19 pm
Quote
If I make two (or more) texture objects from the same file, do they point to the same texture data?
No.
Quote
If not, is it recommended to try to make them do so to avoid wasting memory?
Yes.
Title: Re: Quick Texture questions
Post by: powf on January 09, 2013, 09:49:04 pm
Alright, thanks.