Ejemplo n.º 1
0
        /// <summary>
        ///     Clear all draw calls
        /// </summary>
        public void Clear()
        {
            for (int i = 0; i < m_buffers.Count; i++)
            {
                GeometryBuffer buffer = m_buffers[i];
                if (!buffer.IsEmpty())
                {
                    m_buffers[i].Clear();
                }
            }

            ReleaseOldData();

            m_visible = false;
        }