void RegisterXMLAttribute( Hash xHash, AttributeCallbackFnPtr pxHandler ) { m_xAtributes.insert(AttributePair(xHash, pxHandler)); }
void ShaderProgramGl::bindAttribute(const string &name, int index){ attributes.push_back(AttributePair(name, index)); }