QualitySpec interface
How an effect gets cheaper: the lowest tier it runs at and its caps per tier.
import type { QualitySpec } from '@dioramajs/diorama/effects'interface QualitySpec<P extends ParamSpec>Members
| Name | Type | Description |
|---|---|---|
readonly low? | QualityCaps<P> | Caps at the 'low' tier. |
readonly medium? | QualityCaps<P> | Caps at the 'medium' tier. |
readonly min? | QualityTier | Lowest tier the effect runs at. Below it the instance is 'off' and the element stays DOM. Default 'low'. |
Also exported from @dioramajs/effects.
Defined in packages/effects/src/types.ts.