Skip to main content

Posts

Showing posts from January, 2026

direct x coding, part 3

Computer graphics processing unit uses a fence. It is possible to install a link on the computer fence that processes all of the needed things to be rendered to the next frames coming up, after the current one. To do that, you have to first initialize all the windows render procedure varibles: --main --terminal --channel void create_window(HWND* handle_pass, resolution x, resolution y); create_window("stack", 100, 100); Updating a window is one of the key things to do, when using direct x 12. Another part of the crucial tool box is to use graphs for rendering. In other words, it it possible to use 3d shapes, while rendering a 2d game. void draw_graph(Points* define_points); Rendering graphs is for handling data, that has to be rendered to the screen. #include "windows.h" void render_data(File* folder_system);