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#
Pick<SilkBackend,"writeStyleRows">
Constructors#
Constructor#
new PixiStyleRows(): PixiStyleRows;
Returns#
PixiStyleRows
Properties#
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
source | readonly | BufferImageSource | The 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#
| Parameter | Type |
|---|---|
firstRow | number |
rows | Float32Array |
Returns#
void