Hello i know how to create a window using directx, but how do i display stuff on that window instead of having a totally white and blank window
CodePudding user response:
Your post is missing a few key details:
- What version of DirectX?
- Are you using classic Win32 development or UWP?
- What language? C ? C#?
If you are new to DirectX, then you should start with DirectX 11. For Win32 classic application development in C you can the official Microsoft Docs tutorial mentioned in the comments above.
See also this blog post and Microsoft Docs.
You may also want to take a look at the DirectX Tool Kit and these VS templates.
If you are looking to render 'presentation-style' graphics rather than 3D, then you may want to take a look at Direct2D.