This PR adds uniform validation rules ensuring that all uniforms declared in shaders must match exactly with uniforms declared in the Command's uniform or texture options objects. There may be no orphan declarations in either. This validation is enabled only for process.env.NODE_ENV !== "production" to prevent producing garbage in production environments.
This PR adds uniform validation rules ensuring that all uniforms declared in shaders must match exactly with uniforms declared in the
Command
's uniform or texture options objects. There may be no orphan declarations in either. This validation is enabled only forprocess.env.NODE_ENV !== "production"
to prevent producing garbage in production environments.