Skip to content

Texture

An asset containing image data.

Inheritance: * Asset


IsMipmapped

Check if the texture is mipmapped.

Sig: mipmapped = Texture:IsMipmapped() - Ret: boolean mipmapped Is mipmapped


GetWidth

Get the texture width.

Sig: width = Texture:GetWidth() - Ret: integer width Texture width


GetHeight

Get the texture height.

Sig: height = Texture:GetHeight() - Ret: integer height Texture height


GetMipLevels

Get the number of mip levels.

Sig: levels = Texture:GetMipLevels() - Ret: integer levels Number of mip levels