void Program::link() const { m_linked = false; if (!binaryImplementation().updateProgramLinkSource(this)) return; glLinkProgram(id()); m_linked = checkLinkStatus(); m_dirty = false; updateUniforms(); updateUniformBlockBindings(); }
ProgramBinary * Program::getBinary() const { return binaryImplementation().getProgramBinary(this); }