ShaderCompilingBuilder typedef

ShaderCompilingBuilder = Widget Function(BuildContext context, Widget? child)

Signature used by UmbraWidget.compilingBuilder to create a widget to show while the shader is compiling.

The child is the same child passed to the UmbraWidget constructor.

Implementation

typedef ShaderCompilingBuilder = Widget Function(
  BuildContext context,
  Widget? child,
);