Difference between revisions of "TextureFormat"

(Created page with "{{newin|0.9.0|090|type=enum}} Controls the canvas texture format. == Constants == {{constant|normal|The default texture format (RGBA8)}} {{constant|hdr|The HDR texture format...")
 
m (Clarified descriptions for constants)
Line 2: Line 2:
 
Controls the canvas texture format.
 
Controls the canvas texture format.
 
== Constants ==
 
== Constants ==
{{constant|normal|The default texture format (RGBA8)}}
+
{{constant|normal|The default texture format: 8 bits per channel (32 bpp) RGBA.}}
{{constant|hdr|The HDR texture format (RGBA16F)}}
+
{{constant|hdr|The HDR texture format: floating point 16 bits per channel (64 bpp) RGBA.}}
 
== See Also ==
 
== See Also ==
 
* [[parent::love.graphics]]
 
* [[parent::love.graphics]]

Revision as of 06:18, 19 July 2013

Available since LÖVE 0.9.0
This enum is not supported in earlier versions.

Controls the canvas texture format.

Constants

normal
The default texture format: 8 bits per channel (32 bpp) RGBA.
hdr
The HDR texture format: floating point 16 bits per channel (64 bpp) RGBA.

See Also

Other Languages