Codename LogoCodename Logo

funkin.backend.shaders.FunkinShader

APIWiki

Constructor

View in GitHub

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 null to use default)

vert

Vertex source (pass null to use default)

glslVer

Version of GLSL to use (defaults to 120)

Variables

glslVer:String = "120"

Methods

View in GitHub

hget(name:String):Dynamic

View in GitHub

hset(name:String, val:Dynamic):Dynamic