/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/rendering/renderers/gpu/renderTarget/GpuRenderTarget.ts
17 строк
482 B
Zyie
feat: WebGPU-first RenderTarget attachment architecture & TextureView depth sampling (#12091)
08 июл 2026, 13:22
Не верифицирован
08 июл 2026, 13:22
f4b382b
Код
Авторство
О чём код?
import type { TextureSource } from '../../shared/texture/sources/TextureSource'; /** * A class which holds the canvas contexts and textures for a render target. * @category rendering * @ignore */ export class GpuRenderTarget { public contexts: GPUCanvasContext[] = []; public msaaTextures: TextureSource[] = []; public msaa: boolean; public msaaSamples = 1; public width: number; public height: number; public descriptor: GPURenderPassDescriptor; }