   XNA DXT texture from byte[]
  Hi,recently I had a topic about going around the XNA content manager, http://www.gamedev.net/community/forums/topic.asp?topic_id=531671, but I was moving to Canada back then, and during this time the topic got "archived". I was wondering,I have a byte[] array for a DXT compressed image and I want to put this into a texture. Now the byte[] array is all the data, so also all the mipmaps. How can I add this to a texture? Writing to a texture inside a graphics card requires it to be dynamic, which is not really efficient.Does anyone have any tips?   
  the current approach i took is to fill a systemMemory with the bytes and copy that to a normal texture in video memory. Is this a good approach?   ;  As I can see, FromFile method takes Stream as parameter. Use MemoryStream class ;)   ;Quote:Original post by rafalkozikAs I can see, FromFile method takes Stream as parameter. Use MemoryStream class ;)FromFile is not supported on the XBOX itself that's the reason for doing this, else I could have just loaded it FromFile(string filename) ;-)   