Properties used to generate the macros. See toData.
Optionalon: stringAny further macro hooks specifier; if given, both the
hook key and this specifier are checked (e.g: key and key_on).
GLSL preprocessor macros defining the mappings for
samples and reads, for each value.
Defines the texture samples/reads per-pass, as
GLSLpreprocessor macros.The macros define the mapping between the values and those they derive from, as step/texture locations in a
sampleslist, and indexes to read values from sampled data in areadslist (once sampled into adatalist, as inmacroTapsor similar).They're set up as function-like macros that may be called from the shader to initialise the mappings arrays with a given name. Caches the result if
macrosgeneration is enabled, to help reuse shaders.