Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
I havent got a compiler here, but this should work.[code=vb] Dim gs As GraphicsStream gs = SurfaceLoader.SaveToStream(ImageFileFormat.Bmp, dxDevice.GetBackBuffer(0, 0, BackBufferType.Mono)) Dim bmp As New Bitmap(gs) Dim tx As New Texture(dxDevice, bmp, Usage.AutoGenerateMipMap, Pool.SystemMemory)[/code]
I havent got a compiler here, but this should work.
[code=vb]
Dim gs As GraphicsStream
gs = SurfaceLoader.SaveToStream(ImageFileFormat.Bmp, dxDevice.GetBackBuffer(0, 0, BackBufferType.Mono))
Dim bmp As New Bitmap(gs)
Dim tx As New Texture(dxDevice, bmp, Usage.AutoGenerateMipMap, Pool.SystemMemory)
[/code]