"Here’s how texture arrays work in LayerCraft:
Instead of swapping textures one by one, you can load entire texture sets into a single array. Then, with the Index parameter, you pick exactly which set you want.
Want randomness? Just set the Index to a negative value in Custom Primitive Data — and LayerCraft instantly gives you variations.
This makes set dressing way faster: instant variety, less manual tweaking, more time creating."