This is a request based on the fact that a shading language may not allow for initialization of a uniform
as part of the declaration. It is also useful for code reuse if the shader code itself is used to determine uniqueness for
reuse (say to to avoid shader recompilation)
The proposal is to add in a generation option settable can be set before generation is requested. It would apply to all generators, including OSL and MDL. Here it would be a main function argument initialization option.
This is a request based on the fact that a shading language may not allow for initialization of a uniform as part of the declaration. It is also useful for code reuse if the shader code itself is used to determine uniqueness for reuse (say to to avoid shader recompilation)
The proposal is to add in a generation option settable can be set before generation is requested. It would apply to all generators, including OSL and MDL. Here it would be a main function argument initialization option.