Texture:getLabel

Edit

Returns the debug label of the Texture, which will show up when the Texture is printed and in some graphics debugging tools. This is set when the Texture is created, and can't be changed afterwards.

label = Texture:getLabel()

Arguments

None

Returns

NameTypeDescription
labelstring The label, or nil if none was set.

See also