command
module
Version:
v1.3.0
Opens a new window with list of versions in this module.
Published: Jan 30, 2024
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
kagei

kagei (Kage Interpreter) is a CLI tool for testing Kage shaders.
Building & Installing
-
Install Go
-
Install a C compiler (only on macOS, Linux and FreeBSD)
-
Run: go install github.com/MatusOllah/kagei@latest
Usage
To test a Kage shader run:
kagei path/to/shader.kage
Useful flags
-v - prints verbose output
--version - print version
-w - screen width
-g - screen height
--fps-counter - FPS counter
--tps-counter - TPS counter
--show-uniforms - show uniforms
--vsync - VSync
-I - source image (for example -I0:image.png)
--uniform-bool - uniform bool variable (for example --uniform-bool Foo:true)
--uniform-int - uniform int variable (for example --uniform-int Foo:1)
--uniform-float - uniform float variable (for example --uniform-float Foo:0.5)
--uniform-vec - uniform vecN variable (for example --uniform-vec Foo:[1.1; 2.2; 3.3])
--uniform-ivec - uniform ivecN variable (for example --uniform-vec Foo:[1; 2; 3])
--uniform-json - uniforms via JSON
--uniform-json-file - uniforms via a JSON file
--resize-images - resize source images
--export-image - export rendered image and exit (aka headless mode)
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.