# Reference

> The API reference, renderers, resolution, performance and the glossary.

Source: https://pixi-silk.schmooky.dev/docs/reference/

Look things up here once you know what you need. The API reference lists every export with its JSDoc.

## 01. Renderers

pixi-silk renders on WebGL2 by default and on WebGPU when you ask for it. How to pick one, set up your own Pixi app and turn on batching.

Guide: https://pixi-silk.schmooky.dev/docs/renderers/

## 02. Resolution & DPR

createSilkApp maps the canvas 1:1 to device pixels, even at fractional DPRs, follows DPR changes and renders filters at screen resolution.

Guide: https://pixi-silk.schmooky.dev/docs/resolution/

Experiments:

- [Resolution & device pixels](https://pixi-silk.schmooky.dev/lab/05-resolution/): A Siemens star and a one-device-pixel grating. Switch between 1x, 1.5x, 2x and 3x and check the 1:1 pixel mapping.
- [Filters & render textures](https://pixi-silk.schmooky.dev/lab/06-render-texture/): Graphics and SilkGraphics behind a filter and in a render texture, side by side at the screen resolution.

## 03. Performance

What a SilkGraphics costs on the CPU and GPU, how batching joins objects into one draw, and how to keep static layers and large canvases cheap.

Guide: https://pixi-silk.schmooky.dev/docs/performance/

## 04. Glossary

Short definitions of anti-aliasing, MSAA, SSAA, FXAA, signed distance fields, coverage, device pixel ratio, squircles, OKLab, banding and dithering.

Guide: https://pixi-silk.schmooky.dev/docs/glossary/

## Also in this area

- [API reference](https://pixi-silk.schmooky.dev/api/): Every export, generated from the source JSDoc.
- [FAQ](https://pixi-silk.schmooky.dev/faq/): Short answers to the usual questions, grouped by area.
- [Changelog](https://pixi-silk.schmooky.dev/changelog/): What changed in each release.
- [llms-full.txt](https://pixi-silk.schmooky.dev/llms-full.txt): All docs and demo sources as one plain-text file for AI assistants.
