Beispiel #1
0
void sgw::BaseRenderer::CheckFlushList(const BaseShape& shape)
{
    if (m_flushListCollection.empty() || 
        m_flushListCollection.back().type != shape.GetFlushListType())
    {
        FlushList flushList;
        flushList.type = shape.GetFlushListType();
        m_flushListCollection.push_back(flushList);
    }
}