class tinylib.shaders.SimpleShaderUV extends Shader

Available on all platforms

Simple shader using texture. This class never minds light.

Class Fields

static var id:String

Instance Fields

var mpos:Matrix

var mproj:Matrix

var offset:Vector

var tex:Texture

function new():Void

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