What are the risks of loading textures from images at runtime in XNA?
问题 What is there to know about (apart from only being able to do that on PC) loading textures from images at runtime? 回答1: I've been exclusively loading my textures from streams as well, and the only "danger" that I can come up with is Premultiplied Alphas. You'll either need to process each texture as you load it, or render with premultiplied alphas disabled. Shawn Hargreaves wrote a great blog article on this subject. In the comments, he mentions: If you don't go through our Content Pipeline,