Texture:getFormat

Edit

Returns the format of the texture.

format, linear = Texture:getFormat()

Arguments

None

Returns

NameTypeDescription
formatTextureFormat The format of the Texture.
linearboolean Whether the format is linear or srgb.

See also