File: pixi/renderers/webgl/shaders/PixiFastShader.hx
package pixi.renderers.webgl.shaders;
@:native("PIXI.PixiFastShader")
extern class PixiFastShader {
/**
* @class PixiFastShader
* @constructor
* @param gl {WebGLContext} the current WebGL drawing context
*/
function new(gl:Dynamic);
/**
* @property gl
* @type WebGLContext
*/
var gl:Dynamic;
/**
* @property {any} program - The WebGL program.
*/
var program:Dynamic;
/**
* @property {array} fragmentSrc - The fragment shader.
*/
var fragmentSrc:Array<Dynamic>;
/**
* @property {array} vertexSrc - The vertex shader
*/
var vertexSrc:Array<Dynamic>;
/**
* @property {number} textureCount - A local texture counter for multi-texture shaders.
*/
var textureCount:Float;
/**
* Initialises the shader
* @method init
*
*/
function init():Void;
/**
* Destroys the shader
* @method destroy
*
*/
function destroy():Void;
}