Difference between revisions of "Texture:getFormat"

(Created page)
 
m
Line 1: Line 1:
 
{{newin|[[0.11.0]]|110|type=function}}
 
{{newin|[[0.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}}

Revision as of 17:00, 21 January 2018

Available since LÖVE 0.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