Microsoft.Xna.Framework.Graphics.SpriteBatch.CheckValid C# (CSharp) Метод

CheckValid() приватный Метод

private CheckValid ( Microsoft.Xna.Framework.Graphics.Texture2D texture ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
Результат void
        void CheckValid(Texture2D texture)
        {
            if (texture == null)
                throw new ArgumentNullException("texture");
            if (!_beginCalled)
                throw new InvalidOperationException("Draw was called, but Begin has not yet been called. Begin must be called successfully before you can call Draw.");
        }

Same methods

SpriteBatch::CheckValid ( SpriteFont spriteFont, StringBuilder text ) : void
SpriteBatch::CheckValid ( SpriteFont spriteFont, string text ) : void