|
MaterialXLab API
0.0.1
APIs For MaterialXLab Libraries
|
Go to the source code of this file.
Functions | |
| function async | convertGLSLtoWGSL (glslCode, shaderStage="vertex") |
| void | main () |
Variables | |
| import glslangModule from webgpu | glslang |
| import { compile } from "twgsl" | |
| const | vertexShaderGLSL |
| const | fragmentShaderGLSL |
| function async convertGLSLtoWGSL | ( | glslCode, | |
| shaderStage = "vertex" ) |
Definition at line 7 of file glsl_to_wgsl.js.
| void main | ( | ) |
Definition at line 34 of file glsl_to_wgsl.js.
| const fragmentShaderGLSL |
Definition at line 38 of file glsl_to_wgsl.js.
| import glslangModule from webgpu glslang |
Definition at line 4 of file glsl_to_wgsl.js.
| import { compile } from "twgsl" |
Definition at line 5 of file glsl_to_wgsl.js.
| const vertexShaderGLSL |
Definition at line 32 of file glsl_to_wgsl.js.