Table of Contents


Inherits: TextureBase

Supported platforms:

Available since version: Gideros 2011.6


The Texture class lets you work with textures in an application. The Texture class lets you create
a new Texture object to load from an image file and display in scene tree.

Common uses and examples:

local texture ="image.png", false, {transparentColor = 0xff00ff})	-- do not filter and make the color 0xff00ff transparent
local texture ="image.png", true, {wrap = Texture.REPEAT})	-- enable filtering and repeat the texture

Methods, events and properties: