spriteBatch = new SpriteBatch(GraphicsDevice); pixel = new Texture2D(GraphicsDevice, 1, 1); pixel.SetData(new[] Color.White );
protected override void Update(GameTime gameTime) xna framework 3.1
graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; spriteBatch = new SpriteBatch(GraphicsDevice)
public Game1()
Håll dig uppdaterad genom att prenumerera på Kunskapsguidens nyhetsbrev – få nyheter och uppdateringar direkt i din inkorg.