I'm trying to load a texture given a swap chain, and then populate that texture with data. I already have some bitmap data (although not sure if it is in the correct format) that I want to populate the texture with.
SetData method of the
Texture2D object is obviously not present in SharpDX. What do I do to populate my texture with data? I load the texture using the following code.
var texture = Resource.FromSwapChain<Texture2D>(swapChain, 0);