GlslSource

Write GLSL right in your project and see it drawn: your own geometry, your own surfaces and your own image effects.

A GlslSource holds GLSL without a #version line; Stroke adds that line and the uniforms. Its kinds are VertexShader and FragmentShader, the two stages a Shader draws with, and GLNode, which draws a picture. The Script window opens them with GLSL colouring, and a compile error is marked on its line and said in the Output.

Properties

NameTypeDefault
Sourcestring
From Instance 22

Subclasses