可读取XML配置的着色器

Constructor

new (xml:Xml)

动态GLSL实现

Parameters:

glVertexSource
null

glFragmentSource

Variables

Methods

dipose ():Void

getValue (key:String):Array<Dynamic>

获取uniform值

Parameters:

key

Returns:

Array

onFrame ():Void

setValue (key:String, data:Dynamic):Void

设置uniform值

Parameters:

key
null

data

updateFrame (frame:Frame):Void