# `class tinylib.shaders.Shader2D extends Shader`

Available on all platforms

2D-like Shader. A plane always face camera.

## Class Fields

### `static var id:String`

## Instance Fields

### `var alpha:Float`

### `var color:Vector`

### `var mpos:Matrix`

### `var mproj:Matrix`

### `var origin:Vector`

### `function new():Void`

### `function setShaderVariables(mp:Matrix3D, mpro:Matrix3D, or:Vector3D, cl:Vector3D, a:Float):Void`