MotionScript

@motion-script/core


@motion-script/core / MUTABLE_MATERIAL_KEYS

Variable: MUTABLE_MATERIAL_KEYS

const MUTABLE_MATERIAL_KEYS: readonly string[]

Defined in: render3d/material.ts:321

Material fields whose value the renderer can write in place, without recompiling. Everything not listed here is structural: changing it rebuilds the material. Shared by the reconciler and the MeshShorthand desugarer so the two can't disagree about what is cheap.