convert SharpDXDirect3D11 Texture2D?
#4
After some thinking, I see that the problem with my recommendation is that the ScreenFrame.texture2D that you got is probably not created in such a way that it can be used use as ShaderResourceView.

To use Texture2D for that, it needs to be create with Texture2DDescription that have:
Usage = ResourceUsage.Default
BindFlags = BindFlags.ShaderResource

If you can control how this Texture2D is created, then try those settings.
Andrej Benedik
  


Messages In This Thread
RE: convert SharpDXDirect3D11 Texture2D? - by abenedik - 06-29-2018, 03:29 PM

Forum Jump:


Users browsing this thread:
1 Guest(s)