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

love.graphics.getModes Removed in LÖVE 0.9.0 Moved to the love.window module as love.window.getFullscreenModes. Gets a list of supported fullscreen modes. Function Synopsis modes = love.graphics.getModes( ) Arguments None. Returns table modes A table of width/height pairs. (Note that this may not be in order.) Examples Format of the returned table modes = love.graphics.getModes()   -- modes = { -- { width = 320, height = 240 }, -- { width = 640, height = 480 }, -- { width = 800, he

love.graphics.getMode

love.graphics.getMode Available since LÖVE 0.8.0 and removed in LÖVE 0.9.0 Moved to the love.window module as love.window.getMode. Returns the current display mode. Function Synopsis width, height, fullscreen, vsync, fsaa = love.graphics.getMode( ) Arguments None. Returns number width Display width. number height Display height. boolean fullscreen Fullscreen (true) or windowed (false). boolean vsync True if vertical sync is enabled or false if disabled. number fsaa The number of FSAA

love.graphics.getMaxPointSize

love.graphics.getMaxPointSize Removed in LÖVE 0.10.0 Use love.graphics.getSystemLimits instead. Gets the max supported point size. Function Synopsis size = love.graphics.getMaxPointSize( ) Arguments None. Returns number size The max supported point size. Examples Draws a point at the maximum supported size. function love.draw() local max = love.graphics.getMaxPointSize(); love.graphics.setPointSize(max); love.graphics.point(100, 100); end See Also love.graphics love.gra

love.graphics.getMaxImageSize

love.graphics.getMaxImageSize Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0 Use love.graphics.getSystemLimits instead. Gets the max supported width or height of Images and Canvases. Attempting to create an Image with a width *or* height greater than this number will create a checkerboard-patterned image instead. Doing the same for a canvas will result in an error. The returned number depends on the system running the code. It is safe to assume it will never be less than 1024 and w