Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

simple triangle displayed using vulkan, xcb, and zig

License

NotificationsYou must be signed in to change notification settings

andrewrk/zig-vulkan-triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example of usingvulkan-zig andshader_compiler along withlibxcb to open a window and draw a triangle.

Building and Running

zig build run

System Configuration

On NixOS, I had to add these to my shell:

buildInputs = [    vulkan-loader    vulkan-validation-layers    xorg.libxcb];VK_LAYER_PATH="${pkgs.vulkan-validation-layers}/share/vulkan/explicit_layer.d";

About

simple triangle displayed using vulkan, xcb, and zig

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2026 Movatter.jp