current property
ShaderBackendInfo?
get
current
The reflection for the running platform: the first of ShaderBackend.forCurrentPlatform this entry holds, else any.
Implementation
ShaderBackendInfo? get current {
for (final backend in ShaderBackend.forCurrentPlatform()) {
final info = backends[backend];
if (info != null) return info;
}
return backends.values.firstOrNull;
}