type TextureTarget = TextureSource & { history?: TextureSource[], swap: () => void }
packages / core / src / types.ts