protected override void Destroy() { _indexBuffer.Dispose(); _vertexBuffer.Dispose(); base.Destroy(); }
public void Dispose() { ComUtils.clear(ref m_staticCBuffer); ComUtils.clear(ref m_staticCBufferForText); ComUtils.clear(ref m_fewDrawCalls); m_indexBuffer?.Dispose(); m_vertexBuffer?.Dispose(); }