Crafter.Graphics/examples
2026-02-24 02:32:37 +01:00
..
HelloAnimation removed ignore scaling 2025-12-24 16:11:20 +01:00
HelloDrawing integer math 2025-11-23 04:04:53 +01:00
HelloGrid rendering element rewrite 2025-12-28 00:05:03 +01:00
HelloInput wayland rewrite complete 2025-11-24 01:47:49 +01:00
HelloRotation improved vulkanbuffer 2026-01-28 18:51:11 +01:00
HelloText text example 2026-01-27 21:33:44 +01:00
HelloUI the great text and type rewrite 2025-12-30 23:28:38 +01:00
HelloWindow integer math 2025-11-23 04:04:53 +01:00
VulkanAnimation Win32 vulkan window 2026-02-24 02:32:37 +01:00
VulkanTriangle Win32 vulkan window 2026-02-24 02:32:37 +01:00
VulkanTriangleRuntime runtime pipeline 2026-02-22 00:46:38 +01:00
VulkanWindow vulkan window 2026-01-27 22:34:24 +01:00
README.md runtime pipeline 2026-02-22 00:46:38 +01:00

Crafter.Graphics Examples

Welcome to the Crafter.Graphics examples folder!
Here you'll find a variety of demos to help you learn and experiment with the features of the Crafter.Graphics library.

Getting Started

To run any example, navigate into its folder and use the following command:

crafter-build build executable -r

Hello Series

This series explains the absolute basics.

  1. HelloWindow
    Basic window creation using Crafter.Graphics.

  2. HelloInput
    Handling keyboard and mouse input events.

  3. HelloDrawing
    Introduction to drawing on a window.

  4. HelloUI
    Creating and rendering user interface components.

Vulkan Series

This series explains the vulkan integration.

  1. VulkanWindow
    HelloWindow vulkan edition.

  2. VulkanTraingle
    Introduction to drawing on a window.

  3. VulkanCube
    Creating a custom shader.

  4. VulkanShader
    Creating a custom shader.

Notes

  • Each example is self-contained and meant to be run individually.
  • Make sure your environment is correctly set up with all dependencies required by Crafter.Graphics.
  • A comaptible WSL envoirement can be set up by running these commands:
wsl --update
wsl --install archlinux --name crafter --no-launch
wsl -d crafter pacman -Syu vulkan-devel vulkan-swrast clang git base-devel libpqxx onetbb boost lld glslang --noconfirm
wsl --terminate crafter