pixijs-core-concepts

Explain PixiJS v8 renderer backend selection across WebGL, WebGPU, and Canvas.

302|15|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/pixijs/pixijs-skills --skill pixijs-core-concepts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pixijs-core-concepts
Source: https://github.com/pixijs/pixijs-skills/tree/main/skills/pixijs-core-concepts
Command: npx skills add https://github.com/pixijs/pixijs-skills --skill pixijs-core-concepts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Understand how PixiJS v8 renders frames, how the backend renderer is selected (WebGL, WebGPU, Canvas), and how the render loop operates across environments.

Core Features & Use Cases

  • Renderer selection insight: Learn how autoDetectRenderer chooses the backend based on environment capabilities.
  • Render loop fundamentals: Grasp the per-frame pipeline, ticker integration, and transform traversal.
  • Environment adaptation: Explore how PixiJS adapts to different contexts (browser, web workers, SSR) and where to find deeper topic references.

Quick Start

Create a PixiJS Application and observe how the renderer selects WebGL/WebGPU/Canvas based on the environment and how the render loop drives per-frame work.

Frequently Asked Questions about pixijs-core-concepts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does PixiJS v8 choose between WebGL, WebGPU, and Canvas for rendering?

PixiJS v8 uses autoDetectRenderer to evaluate environment capabilities and select the optimal backend, defaulting to WebGL or WebGPU when available and falling back to Canvas. This selection process ensures compatibility across various browser contexts.

How does the PixiJS render loop drive per-frame rendering work?

The PixiJS render loop integrates with the ticker to execute a per-frame pipeline that handles transform traversal and renders frames. This loop continuously processes scene graph updates and issues draw commands to the selected backend renderer.

Can I use PixiJS v8 rendering backends in web workers or SSR environments?

PixiJS v8 adapts to different contexts like web workers and SSR using environment adapters. These adapters abstract environment-specific logic, allowing the renderer system to function correctly outside standard browser windows.

What is the difference between renderer systems and pipes in PixiJS v8?

Renderer systems in PixiJS v8 manage high-level renderer state and lifecycle, while pipes handle specific stages of the rendering pipeline. This architecture modularizes the per-frame work into distinct processing steps.

How do I configure the renderer and render loop when creating a PixiJS Application?

Creating a PixiJS Application automatically initializes the renderer via autoDetectRenderer and starts the ticker-driven render loop. You can observe and configure backend selection and per-frame pipeline behavior through the application's renderer instance.

Why is my PixiJS v8 renderer falling back to Canvas instead of using WebGPU?

PixiJS v8 falls back to Canvas or WebGL when WebGPU is unavailable in the current environment. The autoDetectRenderer logic checks for specific backend support and environment capabilities before making its selection.