FmatMaterialFactory typedef
Constructs a typed material from one generated .fmat entry.
Implementation
typedef FmatMaterialFactory =
PreprocessedMaterial Function({
required gpu.Shader fragmentShader,
required Map<String, Object?> metadata,
Map<String, gpu.Shader>? vertexShaders,
});