{{newin|[[11.0]]|110|type=function}}
Gets the [[PixelFormat|pixel format]] of the Texture.
== Function ==
=== Synopsis ===
<source lang="lua">
format = Texture:getFormat( )
</source>
=== Arguments ===
None.
=== Returns ===
{{param|PixelFormat|format|The pixel format the Texture was created with.}}
== See Also ==
* [[parent::Texture]]
[[Category:Functions]]
{{#set:Description=Gets the [[PixelFormat|pixel format]] of the Texture.}}
== Other Languages ==
{{i18n|Texture:getFormat}}