Page 1 of 1

Has DX11 been droped from the lastest releases?

Posted: 17 Dec 2014, 18:40
by DigitalKarnage
Just woundering if DX11 support has been dropped from the lastest releases, it seems like the same header files that were used in a previous version '1.1.9' are no longer available in 1.1.14. Is there a new way of setting up the xaml renderer to support DX11 hardware

Re: Has DX11 been droped from the lastest releases?

Posted: 17 Dec 2014, 18:47
by jsantos
Hmm... DirectX11 was never supported in v1.1. We added it to v1.2. What headers are you missing?

Re: Has DX11 been droped from the lastest releases?

Posted: 17 Dec 2014, 18:58
by DigitalKarnage
atleast that's what's missing, before i can continue to compile

NsRender/IDX11RenderSystem.h
NsRender/DX11Texture2D.h
NsResource/IResourceProvider.h
NsResource/ResourceProvider.h

Re: Has DX11 been droped from the lastest releases?

Posted: 17 Dec 2014, 19:25
by jsantos
Those headers belong to v1.2. What version of the SDK are you testing? ( version.txt at the root of the package)

Re: Has DX11 been droped from the lastest releases?

Posted: 17 Dec 2014, 21:53
by DigitalKarnage
it's actually the beta 6 release of 1.2

1.2.0.5141

Re: Has DX11 been droped from the lastest releases?

Posted: 17 Dec 2014, 22:07
by jsantos
In the last beta, one of the improvements we did was reducing the public API to avoid excessive pollution and optimize the number of exported functions from the dynamic library.

Low level rendering headers (NsRender/*) are now missing because they are not needed. If you were using them to create images from native texture handles, the proper way to do it now is passing the handle to the TextureSource:
TextureSource(IDirect3DBaseTexture9* texture, NsSize width, NsSize height, NsSize levels, NsBool inverted);
TextureSource(ID3D11Texture2D* texture, NsSize width, NsSize height, NsSize levels, NsBool inverted);
TextureSource(GLuint texture, NsSize width, NsSize height, NsSize levels, NsBool inverted);
ResourceProvider.h and IResourceProvider.h are still there.

Note also that if you are using precompiled headers the recommended way to use NoesisGUI is including a single file, NoesisGUI.h, that will provide you with all the API under the Noesis namespace. Integration tutorials are already updated showing this.

Please, tell us your specific problem to see if we did something wrong here.

Re: Has DX11 been droped from the lastest releases?

Posted: 17 Dec 2014, 22:36
by DigitalKarnage
Alright, well i guess i have some more learning to do, alot of breaking changes since the last time i worked on a project using noesis.

Thanks for the help