Difference between revisions of "Texture:getFormat"

(Created page)
 
m (0.11.0 -> 11.0)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{newin|[[0.11.0]]|110|type=function}}
+
{{newin|[[11.0]]|110|type=function}}
Gets the [[PixelFormat]] of the Texture.
+
Gets the [[PixelFormat|pixel format]] of the Texture.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::Texture]]
 
* [[parent::Texture]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=Gets the [[PixelFormat]] of the Texture.}}
+
{{#set:Description=Gets the [[PixelFormat|pixel format]] of the Texture.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Texture:getFormat}}
 
{{i18n|Texture:getFormat}}

Latest revision as of 18:23, 7 May 2019

Available since LÖVE 11.0
This function is not supported in earlier versions.

Gets the pixel format of the Texture.

Function

Synopsis

format = Texture:getFormat( )

Arguments

None.

Returns

PixelFormat format
The pixel format the Texture was created with.

See Also

Other Languages