TextureFormat

Available since LÖVE 0.9.0 and removed in LÖVE 0.10.0
This enum is not supported in earlier or later versions.

Image texture formats.

As of LÖVE 0.9.2, Canvases use CanvasFormats rather than TextureFormats.

Constants

normal
The default texture format: 8 bits per channel (32 bpp) RGBA. Color channel values range from 0-255 (0-1 in shaders.)
hdr
Only usable in Canvases. The high dynamic range texture format: floating point 16 bits per channel (64 bpp) RGBA. Color channel values inside the Canvas range from -infinity to +infinity.
Available since LÖVE 0.9.1
srgb
The same as normal, but the texture is interpreted as being in the sRGB color space. It will be decoded from sRGB to linear RGB when drawn or sampled from in a shader. For Canvases, this will also convert everything drawn to the Canvas from linear RGB to sRGB.