ShaderWarmUpImageCallback typedef Null safety

ShaderWarmUpImageCallback = bool Function(Image)

The signature of debugCaptureShaderWarmUpImage.

Used by tests to run assertions on the Image created by ShaderWarmUp.execute. The return value indicates whether the assertions pass or not.

Implementation

typedef ShaderWarmUpImageCallback = bool Function(Image);