XNA-Mordt

Does this load from disk twice or does it assign the data loaded into Background.tTitle already loaded in memory to MainMenu.tTitle

Background.tTitle = content.Load<Texture2D>("Content/Sprites/title");

MainMenu.tTitle = Background.tTitle;

If it loads from disk twice what is a better way to reference a graphic from multiple classes.




Re: XNA Game Studio Express Question about loading graphics

Jim Perry

It doesn't load from disk twice.




Re: XNA Game Studio Express Question about loading graphics

Mordt2

Wonderful, thanks Jim.