A property test rather than an instanceof: backends are separate packages
and @fourjs/render must not name any of them (§61) — the same duck-typed
discipline as supportsRenderStatistics, isParticleDrawable, and
isRenderTargetTexture. RenderGraph.execute uses it to fail loudly
on the first frame instead of drawing nothing forever.
Whether
renderercan draw §70 effect passes, narrowing it so ScreenEffectRenderer.renderEffect can be called.A property test rather than an
instanceof: backends are separate packages and@fourjs/rendermust not name any of them (§61) — the same duck-typed discipline as supportsRenderStatistics,isParticleDrawable, andisRenderTargetTexture. RenderGraph.execute uses it to fail loudly on the first frame instead of drawing nothing forever.