示例#1
0
        protected override void Destroy()
        {
            _indexBuffer.Dispose();
            _vertexBuffer.Dispose();

            base.Destroy();
        }
示例#2
0
 public void Dispose()
 {
     ComUtils.clear(ref m_staticCBuffer);
     ComUtils.clear(ref m_staticCBufferForText);
     ComUtils.clear(ref m_fewDrawCalls);
     m_indexBuffer?.Dispose();
     m_vertexBuffer?.Dispose();
 }