Basic syntax and snippet support for the Ebitengine Kage shading language.
Ebitengine adopts an original shading language 'Kage'. This has a compatible syntax with Go, but the details are different. Kage has high portability. Ebitengine uses graphics libraries like OpenGL or Metal and this depends on environments, but Kage is compiled on the fly so that this works equally everywhere.
Manual installation
Install vsce
from npm
.
npm install --global vsce
Package extension in .vsix
archive.
vsce package
Run this command to install package from .vsix
, replace ebitengine-kage.vsix
with your path.
code --install-extension ebitengine-kage.vsix
This plugin provides basic Kage language support for Ebitengine. It includes keywords, types, literals and snippets.
To quickly start writing a shader, you can type "fragment" or "package".
The plugin provides a short help for each feature in Kage.
You can see a list of all built-in functions by typing "kage".
The plugin will highlight complex numbers despite the fact that, at the moment, Kage does not support them.