Package VisionEgg :: Module Textures :: Class TextureFromFile
[frames] | no frames]

Class TextureFromFile

source code

object --+    
         |    
   Texture --+
             |
            TextureFromFile

DEPRECATED.



Instance Methods
 
__init__(self, filename)
Creates instance of Texture object.
source code

Inherited from Texture: get_pixels_as_image, get_texels_as_image, get_texture_object, load, make_half_size, unload, update

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties

Inherited from object: __class__

Method Details

__init__(self, filename)
(Constructor)

source code 
Creates instance of Texture object.

texels -- Texture data. If not specified, a blank white
          texture is created.
size -- If a tuple, force size of texture data if possible,
        raising an exception if not. If None, has no effect.

Overrides: Texture.__init__
(inherited documentation)