love.window.setPosition

love.window.setPosition Available since LÖVE 0.9.2 This function is not supported in earlier versions. Sets the position of the window on the screen. The window position is in the coordinate space of the specified display. Function Synopsis love.window.setPosition( x, y, display ) Arguments number x The x-coordinate of the window's position. number y The y-coordinate of the window's position. number display (1) The index of the display that the new window position is relative to. Ret

love.window.setTitle

love.window.setTitle Available since LÖVE 0.9.0 This function is not supported in earlier versions. Sets the window title. Constantly updating the window title can lead to issues on some systems and therefore is discouraged. Function Synopsis love.window.setTitle( title ) Arguments string title The new window title. Returns Nothing. See Also love.window love.window.getTitle

love.window.showMessageBox

love.window.showMessageBox Available since LÖVE 0.9.2 This function is not supported in earlier versions. Displays a message box dialog above the love window. The message box contains a title, optional text, and buttons. This function will pause all execution of the main thread until the user has clicked a button to exit the message box. Calling the function from a different thread may cause love to crash. Function Displays a simple message box with a single 'OK' button. Synopsis success

love.window.toggleFullscreen

love.window.toggleFullscreen Available since LÖVE 0.9.0 This function is not supported in earlier versions. Enters or exits fullscreen. The display to use when entering fullscreen is chosen based on which display the window is currently in, if multiple monitors are connected. Function Synopsis success = love.window.setFullscreen( fullscreen ) Arguments boolean fullscreen Whether to enter or exit fullscreen mode. Returns boolean success True if successful, false otherwise. Function Sy

love.window.toPixels

love.window.toPixels Available since LÖVE 0.9.2 This function is not supported in earlier versions. Converts a number from density-independent units to pixels. The pixel density inside the window might be greater (or smaller) than the "size" of the window. For example on a retina screen in Mac OS X with the highdpi window flag enabled, the window may take up the same physical size as an 800x600 window, but the area inside the window uses 1600x1200 pixels. love.window.toPixels(800) would re

Mesh:attachAttribute

Mesh:attachAttribute Available since LÖVE 0.10.0 This function is not supported in earlier versions. Attaches a vertex attribute from a different Mesh onto this Mesh, for use when drawing. This can be used to share vertex attribute data between several different Meshes. Function Synopsis Mesh:attachAttribute( name, mesh ) Arguments string name The name of the vertex attribute to attach. Mesh mesh The Mesh to get the vertex attribute from. Returns Nothing. Notes If a Mesh wasn't create

Mesh:flush

Mesh:flush Available since LÖVE 0.10.0 This function is not supported in earlier versions. Immediately sends all modified vertex data in the Mesh to the graphics card. Normally it isn't necessary to call this method as love.graphics.draw(mesh, ...) will do it automatically if needed, but explicitly using Mesh:flush gives more control over when the work happens. If this method is used, it generally shouldn't be called more than once (at most) between love.graphics.draw(mesh, ...) calls. F

Mesh:getDrawMode

Mesh:getDrawMode Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the mode used when drawing the Mesh. Function Synopsis mode = Mesh:getDrawMode( ) Arguments None. Returns MeshDrawMode mode The mode used when drawing the Mesh. See Also Mesh love.graphics.newMesh

Mesh:getDrawRange

Mesh:getDrawRange Available since LÖVE 0.9.1 This function is not supported in earlier versions. Gets the range of vertices used when drawing the Mesh. Function Synopsis min, max = Mesh:getDrawRange( ) Arguments None. Returns number min (nil) The index of the first vertex used when drawing, or the index of the first value in the vertex map used if one is set for this Mesh. number max (nil) The index of the last vertex used when drawing, or the index of the last value in the vertex map u

Mesh:getImage

Mesh:getImage Available since LÖVE 0.9.0 This function is not supported in earlier versions. Removed in LÖVE 0.10.0 Use Mesh:getTexture instead. Gets the Image used when drawing the Mesh. Function Synopsis image = Mesh:getImage( ) Arguments None. Returns Image image (nil) The Image used to texture the Mesh when drawing. May be nil if no Image is being used with the Mesh. See Also Mesh Mesh:setImage