Microsoft.Xna.Framework.Graphics.RasterizerState.ThrowIfBound C# (CSharp) Метод

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

private ThrowIfBound ( ) : void
Результат void
        internal void ThrowIfBound()
        {
            if (_defaultStateObject)
                throw new InvalidOperationException("You cannot modify a default rasterizer state object.");
            if (GraphicsDevice != null)
                throw new InvalidOperationException("You cannot modify the rasterizer state after it has been bound to the graphics device!");
        }