class FunkinShader
package funkin.shaders
extends FlxGraphicsShader
implements IHScriptCustomBehaviour
extended by CustomShader
Constructor
new(frag:String, vert:String, glslVer:String = "120")
Creates a new shader from the specified fragment and vertex source.
Accepts #pragma header.
Parameters:
frag | Fragment source (pass |
|---|---|
vert | Vertex source (pass |
glslVer | Version of GLSL to use (defaults to 120) |