Crafter.Graphics/examples/HelloWindow
2025-11-22 20:58:42 +01:00
..
main.cpp rewrite time 2025-11-22 20:58:42 +01:00
project.json new structure complete 2025-11-16 18:52:52 +01:00
README.md rewrite time 2025-11-22 20:58:42 +01:00

HelloWindow Example

Description

This example demonstrates the minimal code needed to create a window and show it on the screen. This uses the Framebuffer and Title capability.

Expected Result

A empty window with the title "HelloWindow" shows onscreen.

Highlighted Code Snippet

Window<true, true, false, false> window;
window.framebuffer.Create(1280, 720);
window.title.Set("HelloWindow");
window.StartSync();

How to Run

crafter-build build executable -r