Global Command: shaderCompile
From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 10:23, 19 May 2023 by EK (talk | contribs) (Created page with "Compile a shader. {| class="ts" |- | style="width:15%" | Related functions | shaderSetOptions | Global Command: shaderUniform|shaderUni...")
Compile a shader.
Related functions | shaderSetOptions | shaderUniform |
Syntax
shaderCompile(code, fs)
Parameters
GLSL code can only be used if using OpenGL.
Parameter | Type | Description |
---|---|---|
code | string | Vertex shader code(?). |
fs | string | Fragment shader(?). |
Return values
none
Examples
tbd