love.graphics.getPixelEffect

love.graphics.getPixelEffect Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 It has been renamed to love.graphics.getShader. Returns the current PixelEffect. Returns nil if none is set. Function Synopsis pe = love.graphics.getPixelEffect( ) Arguments None. Returns PixelEffect pe The current PixelEffect. See Also love.graphics love.graphics.setPixelEffect

love.graphics.getPointSize

love.graphics.getPointSize Gets the point size. Function Synopsis size = love.graphics.getPointSize( ) Arguments None. Returns number size The current point size. Examples Increase the point size by 1 by using love.graphics.setPointSize. function love.draw() local s = love.graphics.getPointSize() + 1; love.graphics.setPointSize(s); love.graphics.point(100, 100); end See Also love.graphics love.graphics.point love.graphics.setPointSize love.graphics.getMaxPointSize

love.graphics.getPointStyle

love.graphics.getPointStyle Removed in LÖVE 0.10.0 This function is not supported in that and later versions. Gets the current point style. Function Synopsis style = love.graphics.getPointStyle( ) Arguments None. Returns PointStyle style The current point style. Examples Toggle between point styles with the help of love.graphics.setPointStyle. if love.graphics.getPointStyle() == "rough" then love.graphics.setPointStyle("smooth") else love.graphics.setPointStyle("rough") end See

love.graphics.getRendererInfo

love.graphics.getRendererInfo Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets information about the system's video card and drivers. Almost everything returned by this function is highly dependent on the system running the code and should probably not be used to make run-time decisions. Function Synopsis name, version, vendor, device = love.graphics.getRendererInfo( ) Arguments None. Returns string name The name of the renderer, e.g. "OpenGL" or "Open

love.graphics.getScissor

love.graphics.getScissor Gets the current scissor box. Function Synopsis x, y, width, height = love.graphics.getScissor( ) Arguments None. Returns number x The x-component of the top-left point of the box. number y The y-component of the top-left point of the box. number width The width of the box. number height The height of the box. See Also love.graphics love.graphics.setScissor love.graphics.intersectScissor

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

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.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.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.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