Difference between revisions of "12.0"

m
Line 93: Line 93:
 
* Added [[Texture:isFormatLinear]], [[Texture:getMSAA]], [[Texture:generateMipmaps]], [[Texture:replacePixels]], and [[Texture:renderTo]] (moved from old Canvas and Image subclasses).
 
* Added [[Texture:isFormatLinear]], [[Texture:getMSAA]], [[Texture:generateMipmaps]], [[Texture:replacePixels]], and [[Texture:renderTo]] (moved from old Canvas and Image subclasses).
 
* Added integer [[PixelFormat|pixel formats]] for [[Texture]]s and [[ImageData]].
 
* Added integer [[PixelFormat|pixel formats]] for [[Texture]]s and [[ImageData]].
 +
* Added explicit sRGB format enums for compressed texture [[PixelFormat|pixel formats]].
 +
* Added [[ImageData:setLinear]], [[CompressedImageData:setLinear]], [[ImageData:isLinear]], and [[CompressedImageData:isLinear]].
 
* Added [[GraphicsBuffer|Graphics Buffer]] objects, including vertex, index, texel, shader storage, and indirect draw/dispatch argument buffers.
 
* Added [[GraphicsBuffer|Graphics Buffer]] objects, including vertex, index, texel, shader storage, and indirect draw/dispatch argument buffers.
 
* Added [[love.graphics.copyBuffer]], [[love.graphics.copyBufferToTexture|copyBufferToTexture]], and [[love.graphics.copyTextureToBuffer|copyTextureToBuffer]].
 
* Added [[love.graphics.copyBuffer]], [[love.graphics.copyBufferToTexture|copyBufferToTexture]], and [[love.graphics.copyTextureToBuffer|copyTextureToBuffer]].
Line 122: Line 124:
 
* Added initial support for right-to-left (RTL) text when using TrueType and OpenType fonts.
 
* Added initial support for right-to-left (RTL) text when using TrueType and OpenType fonts.
 
* Added a variant of [[Font:getWidth]] which takes a codepoint number argument.
 
* Added a variant of [[Font:getWidth]] which takes a codepoint number argument.
 +
* Added optional settings table variants for [[love.graphics.newFont]], [[love.font.newRasterizer]], and [[love.font.newTrueTypeRasterizer]].
 
* Added [[love.graphics.newTextBatch]] (renamed from [[love.graphics.newText]]).
 
* Added [[love.graphics.newTextBatch]] (renamed from [[love.graphics.newText]]).
 
* Added support for saving .exr image files via [[ImageData:encode]].
 
* Added support for saving .exr image files via [[ImageData:encode]].
Line 180: Line 183:
 
* Removed [[Fixture]] objects. All methods previously in Fixtures are now available in [[Shape]]s.
 
* Removed [[Fixture]] objects. All methods previously in Fixtures are now available in [[Shape]]s.
 
* Removed the variant of [[SpriteBatch:setColor]]() which turns off all previously set colors.
 
* Removed the variant of [[SpriteBatch:setColor]]() which turns off all previously set colors.
* Removed the no-argument variant of [[love.graphics.setColorMask]].
 
 
* Removed functions deprecated in LÖVE 11:
 
* Removed functions deprecated in LÖVE 11:
 
** Removed [[love.audio.getSourceCount]] (renamed to [[love.audio.getActiveSourceCount]]).
 
** Removed [[love.audio.getSourceCount]] (renamed to [[love.audio.getActiveSourceCount]]).

Revision as of 03:31, 3 December 2023

O.png The information on this page may not be accurate or up to date due to the information pertaining to a version that is currently in development.  


The codename for LÖVE 12.0 is TBD. It is currently not released.

Changes from 11.4

Additions

General


Data


Filesystem


Audio


Input


Math


Physics


Graphics


Changes


Deprecations


Removals


Fixes

  • Fixed BezierCurve:render adding collinear points in some situations.
  • Fixed line rendering when the line has duplicate points.
  • Fixed sound Decoders to cause a Lua error instead of hard-crashing when memory for the decoding buffer can't be allocated.
  • Fixed oversaturated colors on macOS when a P3-capable display is used.