ShaderConfiguration class abstract

Describes generic shader configuration

Implementers
Available extensions

Constructors

ShaderConfiguration(List<double> _floats)

Properties

hashCode int
The hash code for this object.
no setterinherited
needRedraw bool
no setter
numUniforms Iterable<double>
Returns all shader uniforms. Order of items in array must be as listed in fragment shader code
no setter
parameters List<ConfigurationParameter>
Returns all shader parameters
no setter
ready bool
Returns the readiness of the shader program
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

colorsEffectChildren(void onChanged(ConfigurationParameter), {required Map<String, double> paramMap, required List<String> paramNames}) Iterable<Widget>

Available on FilterConfiguration, provided by the ParametersContainer extension

参数设置widget
currentParameter(List<String> names) List<ConfigurationParameter>

Available on FilterConfiguration, provided by the ParametersContainer extension

当前color 参数列表
dispose() FutureOr<void>
Disposes the shader program
export(TextureSource texture, Size size) Future<Image>
Exports date to an image
filtersDataChildren(void onChanged(ConfigurationParameter), {required Map<String, double> paramMap, required List<String> paramNames}) Iterable<Widget>

Available on FilterConfiguration, provided by the ParametersContainer extension

参数设置widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepare() FutureOr<void>
Prepares the shader program
toString() String
A string representation of this object.
inherited
update() FutureOr<void>
Updates the shader program

Operators

operator ==(Object other) bool
The equality operator.
inherited