/** Copy constructor. */ Shader::Shader(const Shader& rhs) : Shader(rhs.id, rhs.application) { if (rhs.IsLoaded()) Shader::Load(); }