import type { ResolvedGlass } from 'pixi-silk/glass';
Every GlassStyle field with defaults applied and ranges clamped. tint is straight sRGB, 0 to 1 per channel.
Properties#
| Property | Type | Defined in |
|---|
bevel | number | glass/options.ts:48 |
blur | number | glass/options.ts:45 |
dispersion | number | glass/options.ts:47 |
frost | number | glass/options.ts:49 |
grain | number | glass/options.ts:56 |
light | number | glass/options.ts:55 |
lightAngle | number | glass/options.ts:54 |
opacity | number | glass/options.ts:53 |
radius | number | glass/options.ts:43 |
refraction | number | glass/options.ts:46 |
saturation | number | glass/options.ts:50 |
shadow | number | glass/options.ts:57 |
smoothing | number | glass/options.ts:44 |
tint | [number, number, number] | glass/options.ts:51 |
tintAmount | number | glass/options.ts:52 |