Global Command: shaderCompile

From The Official Visionaire Studio: Adventure Game Engine Wiki
Revision as of 11: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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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