Changes

Jump to navigation Jump to search
Line 43: Line 43:  
// read an image file
 
// read an image file
 
Texture2D texture = helper.ModContent.Load<Texture2D>("assets/texture.png");
 
Texture2D texture = helper.ModContent.Load<Texture2D>("assets/texture.png");
 +
// alternatively
 +
IRawTextureData texture = helper.ModContent.Load<IRawTextureData>("assets/texture.png");
    
// read a map file
 
// read a map file
528

edits

Navigation menu