2

I'm trying to access the ReadDataAsync() function to get a pointer to the compiled shader byte data to pass to CreateVertexShader(). I am trying to do this on windows 8 desktop in directx 11.

This function exists in the windows 8 metro development side of things in the header file DirectXHelper.h. However, it is my understanding that DirectXHelper.h does not exist on windows 8 desktop development (written in standard c++).

I am trying to duplicate page 21 of http://d3dcoder.net/Data/Resources/d3d11Metro.pdf in windows 8 desktop, and not windows 8 metro.

Does anybody know of how I could accomplish this? Or an equivalent of the function ReadDataAsync()?

4

0 回答 0