Added the ability to create defines for compiling shaders using item metadata.