xna how to use a bitmap from photoChooser?
hi i got a bitmapImage from the optionMenuScreen and want to use it in the Ga开发者_StackOverflowmePlayScreen. do i have to convert it to texture2d? how? example please... in what class? how can i change the bitmap size or change it after its a texture? thanks
As PhotoResult.ChosenPhoto
is a stream, I'd try using Texture2D.FromStream
(msdn)
System.Drawing is not supported on the phone.
精彩评论