Type Alias: VolumeStrategyProvisionReason
VolumeStrategyProvisionReason:
"initial"|"loaded"|"memory"|string&object
Why a provider runs.
A provider runs when the render path adds its actor, and it runs again when something changes that could change the answer. The core states two reasons:
loaded— the data of the volume finished loading, so a strategy that could not draw before may now be worth building;memory— the budget of the texture memory changed, or the store evicted a set, so a strategy may need to be rebuilt or replaced by a cheaper one.
A render component may state a reason of its own, and the type admits one.
Defined in
packages/core/src/RenderingEngine/helpers/volumeRenderStrategy.ts:90