class tinylib.shaders.Shader2DUV extends Shader

Available on all platforms

2D-like Shader using texture. A plane always face the camera.

This class is used for show text.

Class Fields

static var id:String

Instance Fields

var mpos:Matrix

var mproj:Matrix

var origin:Vector

var tex:Texture

function new():Void

function setShaderVariables(mp:Matrix3D, mpro:Matrix3D, vo:Vector3D, texture:Texture):Void