/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/rendering/renderers/gpu/GpuExtensions.ts
19 строк
754 B
Mat Groves
feat: implement transientAttachment for MSAA RenderTextures for WebGPU (#12050)
02 июн 2026, 21:40
Не верифицирован
02 июн 2026, 21:40
1d1e44c
Код
Авторство
О чём код?
/** * Optional WebGPU capabilities probed at adapter/device init. * * Mirrors the WebGL renderer's {@link WebGLExtensions} pattern: each entry represents a * feature, usage bit, or extension that may or may not be present in the current browser / * adapter, and the renderer can check it at runtime before opting in. * @category rendering * @advanced */ export interface GpuExtensions { /** * `GPUTextureUsage.TRANSIENT_ATTACHMENT` (0x40) — when true, MSAA attachments can be * marked transient so TBDR drivers keep contents in tile memory and skip DRAM * allocation entirely. Not part of WebGPU 1.0; gated on the bit being present on * the `GPUTextureUsage` enum at runtime. */ transientAttachment: boolean; }