darthmaule2
Topic Author
Posts: 98
Joined: 23 Oct 2014, 19:54

Can C# API be used with DirectX11?

07 Apr 2015, 18:47

I downloaded the C# demo and I see that it is using OpenGL.

My application requires use of DirectX11. Is it possible to use the C# API with DirectX11?
 
Axel777
Posts: 5
Joined: 26 Nov 2014, 09:12

Re: Can C# API be used with DirectX11?

07 Apr 2015, 18:52

Sure, I don't see why not. Create a SharpDX.Direct3D11.Device instance and pass the unmanaged ID3D11Device* to Noesis.GUI.InitDirectX11 function via the device's NativePointer property.
 
User avatar
jsantos
Site Admin
Posts: 4393
Joined: 20 Jan 2012, 17:18
Contact:

Re: Can C# API be used with DirectX11?

08 Apr 2015, 20:52

Effectively, the C# API is compatible with OpenGL, DirectX9 and DirectX11. Although the sample included inside that SDK is only OpenGL.

Who is online

Users browsing this forum: Semrush [Bot] and 5 guests