GlslExport
final class GlslExport
Package: dev.joid.test.shader · Module: tool-testkit · Source: GlslExport.java
Writes every built-in shader of JOID translated to every GLSL dialect, to check a translation with the compilers of each dialect.
Learn more
Section titled “Learn more”Methods
Section titled “Methods”| Returns | Signature | Summary |
|---|---|---|
void | main(String[] args) static | Exports into the folder given as the only argument; with another number of arguments, prints its usage and exits with 2. |
void | export(File directory) static | Writes, in one subfolder per dialect, the .vert and .frag of every built-in shader and of its line variant. |
Method details
Section titled “Method details”void main(String[] args) static
Exports into the folder given as the only argument; with another number of arguments, prints its usage and exits with 2.
export
Section titled “export”void export(File directory) static
Throws:
IOException: The folder … cannot be created, check that its parent folder can be written
Writes, in one subfolder per dialect, the .vert and .frag of every built-in shader and of its line variant.
Throws an IOException when a subfolder cannot be created.
fluent returns the instance, typed for chaining · factory creates an instance · signal also accepts a value that follows signals, as a signal, an expression or a lambda (When does JOID compute this value again?) · hook called by JOID, override it · abstract you implement it · default interface method with a body · static called on the class · protected visible to subclasses
