internal void Dispose()
        {
            if (m_vertexBufferStream0 != null)
                m_vertexBufferStream0.Dispose();
            m_vertexBufferStream0 = null;

            if (m_vertexBufferStream1 != null)
                m_vertexBufferStream1.Dispose();
            m_vertexBufferStream1 = null;
 
            if(m_indexBuffer != null)
                m_indexBuffer.Dispose();
            m_indexBuffer = null;
        }
Esempio n. 2
0
        internal void Dispose()
        {
            if (m_vertexBufferStream0 != null)
            {
                m_vertexBufferStream0.Dispose();
            }
            m_vertexBufferStream0 = null;

            if (m_vertexBufferStream1 != null)
            {
                m_vertexBufferStream1.Dispose();
            }
            m_vertexBufferStream1 = null;

            if (m_indexBuffer != null)
            {
                m_indexBuffer.Dispose();
            }
            m_indexBuffer = null;
        }