Skip to main content

Type Alias: VolumeTextureMutability

VolumeTextureMutability: "fixed" | "owned"

Whether the grid of a texture can change.

The two kinds have different lifetimes and different owners.

  • fixed — the grid never changes. Any number of viewports read the texture, and nothing needs to know when a draw starts or stops.
  • owned — the basis point of the grid moves. An oblique MPR slab follows the camera, and the code re-points the slab instead of building a new texture for each position. Exactly one owner holds such a texture, because the owner is the only party that knows when a draw starts and stops. An owner may later be a set of viewports; it is never "whoever asks".

Defined in​

packages/core/src/cache/classes/VolumeTextureSet.ts:25