public static void Begin(this SpriteBatch spriteBatch, SpriteBatchSettings spriteBatchSettings) { spriteBatch.Begin( spriteBatchSettings.SpriteSortMode, spriteBatchSettings.BlendState, spriteBatchSettings.SamplerState, spriteBatchSettings.DepthStencilState, spriteBatchSettings.RasterizerState, spriteBatchSettings.Effect, spriteBatchSettings.TransformMatrix ); }
public GuiRenderer(GraphicsDevice graphicsDevice) { _spriteBatch = new SpriteBatch(graphicsDevice); Settings = new SpriteBatchSettings(); }