I am trying to use a texture from a shader on Windows Phone 8 using SharpDX, but I have trouble uploading the texture to GPU. I've found these:
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.graphicsdevice.textures.aspx How to pass a Texture2D object to Pixel Shader in XNA 4.0?
Unfortunately, I don't have GraphicsDevice.Textures
property available in SharpDX. I couldn't find a way to upload my Texture2D
object to the GPU. How do I upload my texture to GPU under SharpDX.