void CRenderQue::DrawQue() { CRenderObject* temp = m_Parent; while(temp) { temp->Draw(); temp = temp->m_Next; } ClearQue(); }
void CRenderWorld::Draw(EShaderType eST) { map<int, CRenderObject*>::iterator itor; CRenderObject* cur = 0; for (itor = m_mapRenderObject[eST].begin(); itor != m_mapRenderObject[eST].end(); itor++) { cur = (itor)->second; if (cur) { cur->Draw(); } } }