/
githubmirror
/
pixijs
Обзор
Документация
Войти
/
githubmirror
/
pixijs
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
dev
src/rendering/renderers/shared/texture/GenerateCanvas.ts
21 строка
551 B
Zyie
chore: add standard/advanced tags to documentation (#11448)
03 июн 2025, 10:12
Не верифицирован
03 июн 2025, 10:12
7d91234
Код
Авторство
О чём код?
import type { ICanvas } from '../../../../environment/canvas/ICanvas'; import type { Texture } from './Texture'; /** * Data about the pixels of a texture. * This includes the pixel data as a Uint8ClampedArray, and the width and height of the texture. * @category rendering * @advanced */ export type GetPixelsOutput = { pixels: Uint8ClampedArray; width: number; height: number; }; /** @internal */ export interface CanvasGenerator { generateCanvas(texture: Texture): ICanvas; getPixels(texture: Texture): GetPixelsOutput; }