This is my first post on this forum. I am following along with Frank Luna's DirectX 11 book, and am also using the Rastertek tutorial online for learning how to initialize a 2D system in Direct3D. To be honest, I thought the whole thing would be a lot easier than it is, but basically I have got a lot of 3D stuff working in "my" engine, but I fell flat on my face when I tried to implement 2D. I did load up a bitmap into the engine generated by Rastertek, but that is not much of an achievement.
I have attached my solution for your perusal. I have cleared the screen with Pink so it is very obvious when something is not rendering. Well, nothing is rendering. I have stepped through my program, then the working rastertek program maybe 100 times. I know there are differences, i.e. I am using the effects framework to set pixel and vertex shaders, and I am using somewhat complex pixel and vertex shaders where the rastertek program uses more simple ones. I did this because I hope for my engine to eventually be switchable from 2D to 3D simply by using different inherited classes, i.e. App2D and App3D inherited from ApplciationLayer, and toggling a few settings to make the switch.
If I can't get this to work in the next 24 hours, I'm going to scrap this simple engine and start over, hopefully in less time, and hopefully with a better result, but if any of you would be kind enough to build the code (on V++ 2010) and see what you get, I would be greatly appreciative. Also, if anyone can offer some good debugging advice above and beyond google it, ask in this forum, check tutorials, check variable values in the debugger, and think, I would be greatly appreciative.
Again, thank you all for your kind help, and I look forward to my time with this forum in the future.