Documentation
¶
Overview ¶
Package setup provides wgpu-native library installation for go-webgpu.
Usage:
go run github.com/go-webgpu/webgpu/cmd/setup@latest
Or programmatically:
path, err := setup.Install("lib")
found := setup.FindLibrary()
Index ¶
Constants ¶
View Source
const Version = "v29.0.0.0"
Variables ¶
This section is empty.
Functions ¶
func FindLibrary ¶
func FindLibrary() string
FindLibrary searches common locations for the wgpu-native library. Returns the absolute path if found, empty string otherwise. Search order: WGPU_NATIVE_PATH env → ./lib/ → executable dir → PATH.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.