GPUBrightnessFilter constructor

GPUBrightnessFilter({
  1. double? brightness,
})

brightness value ranges from 0.0 to 1.0, with 0.5 as the normal level

亮度取值范围为0-1,默认0.5

Implementation

GPUBrightnessFilter({this.brightness}) {
  type = "brightness";
}