Texture¶ Reference¶ class Texture¶ module: fromObject(obj)¶ Create a texture from an object Parameters:¶ obj (Object) – The object to cast Return type:¶ Texture fromHandle(handle)¶ create a texture object from a handle. Used internally. Parameters:¶ handle (number) create(attributes)¶ Create a new texture Parameters:¶ attributes (table) – list of attributes. without, the texture will be created with default values Returns:¶ the created texture Return type:¶ Texture Examples¶