alpha
Login
or
Join now
akashina.tngl.sh
/
kh
Star
3
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
A native GUI toolkit for Node.js, based on linebender/wgpu + Akashina's napi-rs
Star
3
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
kh
/
crates
/
native
/
at
main
2 folders
3 files
GreyElaina
feat(native): multi-window lifecycle + window API cleanup
3mo ago
0decbd5c
shaders
feat(native): integrate wgsl-bindgen for type-safe shader bindings Replace hand-written bind group layouts, uniform structs, and shader loading with codegen from wgsl-bindgen. All 12 WGSL shaders now generate compile-time verified Rust bindings via build.rs. - Add wgsl_bindgen as build-dependency - Consolidate all shaders into shaders/ directory - Generate typed bind group constructors, uniform structs, pipeline helpers - Migrate compositor, image_blit, and all 6 effect modules to use generated code - Compile-time layout asserts guarantee WGSL↔Rust struct consistency
3 months ago
src
feat(native): multi-window lifecycle + window API cleanup - Add AppState for window close-requested dispatch - Extend UserEvent with ShowWindow/HideWindow/RequestClose/SetWindowTitle/RequestWindowInnerSize/FocusWindow - Add WindowOptions with #[napi(object)] directly (remove KhWindowOptions shim) - Convert setOnCloseRequested to onCloseRequested setter - Remove unused CallbackList/encode_callback_key/decode_callback_key - Narrow AppHandler::new to pub(crate) - Wire up solid createWindow with close/focus/resize/visibility
3 months ago
.gitignore
chore: initialize project with cargo workspace and npm config
4 months ago
Cargo.toml
feat(native): integrate wgsl-bindgen for type-safe shader bindings Replace hand-written bind group layouts, uniform structs, and shader loading with codegen from wgsl-bindgen. All 12 WGSL shaders now generate compile-time verified Rust bindings via build.rs. - Add wgsl_bindgen as build-dependency - Consolidate all shaders into shaders/ directory - Generate typed bind group constructors, uniform structs, pipeline helpers - Migrate compositor, image_blit, and all 6 effect modules to use generated code - Compile-time layout asserts guarantee WGSL↔Rust struct consistency
3 months ago
build.rs
feat(native): integrate wgsl-bindgen for type-safe shader bindings Replace hand-written bind group layouts, uniform structs, and shader loading with codegen from wgsl-bindgen. All 12 WGSL shaders now generate compile-time verified Rust bindings via build.rs. - Add wgsl_bindgen as build-dependency - Consolidate all shaders into shaders/ directory - Generate typed bind group constructors, uniform structs, pipeline helpers - Migrate compositor, image_blit, and all 6 effect modules to use generated code - Compile-time layout asserts guarantee WGSL↔Rust struct consistency
3 months ago