declarations for our device(GPU) and device context /* declarations for Direct3D feature levels ours will include Void dx3dmanager::initialize3d(HWND MainWindow) Initialization method is subject to change with new versions /* this method intitializes the Direct3d version 11 API this after many hours of scanning through Microsoft Docs and checking and rechecking all my code i cant seem to find out the issue does anyone have a clue ? #include "dx3dmanager.h" (OurDevice is the pointer name to my ID3D11Device). Im learning directx im working on initializing direct3d in my application and all of my HRESULTS are returning S_OK which is a success return code except the last one which involved swap chain creation i have the debug layer enabled so im getting a warning error in the Output Log that says 'OurDevice' could be 0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |