internal static void AddSingleSprite(MyTexture2D texture, MyVertexFormatSpritePositionTextureColor sprite)
        {
            if (m_currentInnerBatch.texture != texture.ShaderView)
            {
                if (m_currentInnerBatch.texture != null)
                    m_currentInnerBatch.Commit();

                m_currentInnerBatch = CreateSpritesBatch();
                m_currentInnerBatch.startInstance = m_spriteInstanceList.Count;
                m_currentInnerBatch.SetTexture(texture);
            }

            m_currentInnerBatch.AddSprite(sprite);
        }
 internal void AddSprite(MyVertexFormatSpritePositionTextureColor sprite)
 {
     MySpritesRenderer.m_spriteInstanceList.Add(sprite);
 }