Table of Contents

Texture

Inherits: TextureBase

Supported platforms:

Available since version: Gideros 2011.6

Description:

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 = Texture.new("image.png", false, {transparentColor = 0xff00ff})	-- do not filter and make the color 0xff00ff transparent
local texture = Texture.new("image.png", true, {wrap = Texture.REPEAT})	-- enable filtering and repeat the texture

Methods, events and properties: