class openfl.display.Shader
Class Fields
static var uColorMultiplier:Uniform
Uniform (vec4) holding the colorMultiplier values from the transfrom.colorTransform of the object.
static var uColorOffset:Uniform
Uniform (vec4) holding the colorOffset values from the transfrom.colorTransform of the object.
static var uObjectSize:String
Uniform (vec2) holding the object width and height. If it's used with Tilesheet.drawTiles() the value will be [0, 0] For example, if the object is 200x200, the value of this uniform will be 200x200.
static var uTextureSize:String
Uniform (vec2) holding the object texture real width and height. If it's used with Tilesheet.drawTiles() the value will be [0, 0] For example, if the object is 200x200, the value of this uniform will be 256x256.
Instance Fields
var precision:GLShaderPrecision
The shader precision. It can be HIGH, MEDIUM or LOW. Defaults to MEDIUM
var repeatX:RepeatMode
Overrides the default repetition applied to the object's bitmap or cached bitmap. By default: NONE
var repeatY:RepeatMode
Overrides the default repetition applied to the object's bitmap or cached bitmap. By default: NONE