API documentation
class openfl.display.GLShaderParameter
import openfl.display.Shader;
var arraySize:Int
The size of the array. For example: uniform vec2 uExample[2]; will be 2
var bitmap:BitmapData
The BitmapData to be used when the type is a sampler2D
var repeatX:RepeatMode
Controls repetition in the x axis for the BitmapData
var repeatY:RepeatMode
Controls repetition in the y axis for the BitmapData
var size:Int
The size of the value. For example: vec4 will be 4
var smooth:Bool
Enables linear smoothing to the BitmapData
var transpose:Bool
Enables matrices to be transposed. Only used in mat* types.
var type:String
The raw type as expressed in the glsl code For example: vec4 will be "vec4"
var value:Array<Float>
The value of the parameter when the type isn't a sampler2D
function new(type:String, ?arraySize:Int): Void