Resolve the active material backend from a RendererCapabilities snapshot. Returns 'glsl' when caps are unset so unit tests that touch material creation without configuring caps get the WebGL2 dispatch — same default as before this helper existed.
RendererCapabilities
'glsl'
Resolve the active material backend from a
RendererCapabilitiessnapshot. Returns'glsl'when caps are unset so unit tests that touch material creation without configuring caps get the WebGL2 dispatch — same default as before this helper existed.