love.graphics.isActive

love.graphics.isActive Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets whether the graphics module is able to be used. If it is not active, love.graphics function and method calls will not work correctly and may cause the program to crash. The graphics module is inactive if a window is not open, or if the app is in the background on iOS. Typically the app's execution will be automatically paused by the system, in the latter case. Function Synopsis acti

love.graphics.intersectScissor

love.graphics.intersectScissor Available since LÖVE 0.10.0 This function is not supported in earlier versions. Sets the scissor to the rectangle created by the intersection of the specified rectangle with the existing scissor. If no scissor is active yet, it behaves like love.graphics.setScissor. The scissor limits the drawing area to a specified rectangle. This affects all graphics calls, including love.graphics.clear. The dimensions of the scissor is unaffected by graphical transformati

love.graphics.hasFocus

love.graphics.hasFocus Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 Moved to the love.window module as love.window.hasFocus. Checks if the game window has keyboard focus. Function Synopsis focus = love.graphics.hasFocus( ) Arguments None. Returns boolean focus True if the window has the focus or false if not. See Also love.graphics

love.graphics.getWidth

love.graphics.getWidth Available since LÖVE 0.2.1 This function is not supported in earlier versions. Gets the width in pixels of the window. Function Synopsis width = love.graphics.getWidth( ) Arguments None. Returns number width The width of the window. See Also love.graphics love.graphics.getHeight love.graphics.getDimensions

love.graphics.getSystemLimits

love.graphics.getSystemLimits Available since LÖVE 0.10.0 It has replaced love.graphics.getSystemLimit. Gets the system-dependent maximum values for love.graphics features. Function Synopsis limits = love.graphics.getSystemLimits( ) Arguments None. Returns table limits A table containing GraphicsLimit keys, and number values. See Also love.graphics GraphicsLimit

love.graphics.getSystemLimit

love.graphics.getSystemLimit Available since LÖVE 0.9.1 and removed in LÖVE 0.10.0 It has been replaced by love.graphics.getSystemLimits. Gets the system-dependent maximum value for a love.graphics feature. Function Synopsis limit = love.graphics.getSystemLimit( limittype ) Arguments GraphicsLimit limittype The graphics feature to get the maximum value of. Returns number limit The system-dependent max value for the feature. See Also love.graphics

love.graphics.getSupported

love.graphics.getSupported Available since LÖVE 0.10.0 It has replaced love.graphics.isSupported. Gets the optional graphics features and whether they're supported on the system. Some older or low-end systems don't always support all graphics features. Function Synopsis features = love.graphics.getSupported( ) Arguments None. Returns table features A table containing GraphicsFeature keys, and boolean values indicating whether each feature is supported. See Also love.graphics Graphi

love.graphics.getStencilTest

love.graphics.getStencilTest Available since LÖVE 0.10.0 This function is not supported in earlier versions. Gets the current stencil test configuration. When stencil testing is enabled, the geometry of everything that is drawn afterward will be clipped / stencilled out based on a comparison between the arguments of this function and the stencil value of each pixel that the geometry touches. The stencil values of pixels are affected via love.graphics.stencil. Each Canvas has its own per-p

love.graphics.getStats

love.graphics.getStats Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets performance-related rendering statistics. Function Synopsis stats = love.graphics.getStats( ) Arguments None. Returns table stats A table with the following fields: number drawcalls The number of draw calls made so far during the current frame. number canvasswitches The number of times the active Canvas has been switched so far during the current frame. number texturememory The e

love.graphics.getShader

love.graphics.getShader Available since LÖVE 0.9.0 It has been renamed from love.graphics.getPixelEffect. Gets the current Shader. Returns nil if none is set. Function Synopsis shader = love.graphics.getShader( ) Arguments None. Returns Shader shader The currently active Shader, or nil if none is set. See Also love.graphics love.graphics.setShader