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; }
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; }