Texture:getDimensions

Edit

Returns the width, height, and depth of the Texture.

width, height, layers = Texture:getDimensions()

Arguments

None

Returns

NameTypeDescription
widthnumber The width of the Texture.
heightnumber The height of the Texture.
layersnumber The number of layers in the Texture.

See also