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!");
}