Texture:getFormat
EditReturns the format of the texture.
format, linear = Texture:getFormat()
Arguments
None
Returns
Name | Type | Description |
format | TextureFormat | The format of the Texture. |
linear | boolean | Whether the format is linear or srgb. |
Returns the format of the texture.
format, linear = Texture:getFormat()
None
Name | Type | Description |
format | TextureFormat | The format of the Texture. |
linear | boolean | Whether the format is linear or srgb. |