darthmaule2
Topic Author
Posts: 94
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: 2903
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: No registered users and 2 guests