Skip to content
pixi-silk
GitHub repository
Class

PixiStyleRows

import { PixiStyleRows } from 'pixi-silk/i18n/pixi';

Style rows on the GPU: an RGBA32F texture, 8 texels per row and 64 rows per texture row, as packStyle packs them. The writeStyleRows part of SilkBackend, one per theme.

Implements#

Constructors#

Constructor#

new PixiStyleRows(): PixiStyleRows;

Returns#

PixiStyleRows

Properties#

PropertyModifierTypeDescriptionDefined in
sourcereadonlyBufferImageSourceThe texture the message shader reads.packages/pixi-silk/src/i18n/pixi/backend.ts:14

Methods#

writeStyleRows()#

writeStyleRows(firstRow: number, rows: Float32Array): void;

Stores style rows from firstRow on.

Parameters#

ParameterType
firstRownumber
rowsFloat32Array

Returns#

void

Implementation of#

SilkBackend.writeStyleRows