Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

JopStro/webgpu-odin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABANDONED

Use https://github.com/Capati/wgpu-odin instead

WebGPU odin

wgpu native bindings for the Odin programming language based on generated results from modified WebGPU native headers using The Odin Binding Generator

Idomatic wrappers are added in wrappers.odin for select procededures and a few helper functions are also added in helpers.odin - ChainedStruct(Out) constructors link and chain and a request callback constructor request_cb. Additionally the subpackage sdl contains a procedure for creating a surface from an sdl window.

I'm still getting familiar with WebGPU as I work on these bindings so some details may be subject to change.

Examples

A couple simple examples exist in the examples folder.

I also reccomend checking out LearnWebGPU for C++ if you are new to programming with native webgpu as the bindings are close enough to the cpp api for it to be helpful.

About

wgpu native bindings for the Odin programming language

Topics

Resources

License

Stars

Watchers

Forks