Using SharpDX/SlimDX in C# (or VB.NET if you prefer), how can I render onto a texture? I'm pretty sure where I render has to do with RenderTargetView, and if I get the RenderTargetView.Resource, I can convert it to a Texture2D.
That's great, but I have an uneasy feeling, because I still notice that my SwapChainDescription.OutputHandle may not be null, and it supposedly must point to some kind of window or other control on which I can draw. But why would I need that if I'm only rendering onto a texture, not a form?
Am I going about this the right way?