clutter.Texture
clutter.Texture
Synopsis
class clutter.Texture(clutter.Actor):
__init__(filename =True)
def set_from_rgb_data(data , has_alpha , width , height , rowstride , bpp , flags , error )
def set_from_yuv_data(data , width , height , flags , error )
def set_area_from_rgb_data(data , has_alpha , x , y , width , height , rowstride , bpp , flags , error )
def set_from_file(filename , error )
def set_filter_quality(filter_quality )
def get_filter_quality()
def set_max_tile_waste(max_tile_waste )
def get_max_tile_waste()
def get_cogl_texture()
def set_cogl_texture(cogl_tex )
|
Constructor
__init__(filename
=True)
filename :
| a |
Returns : | a ClutterActor* |
Methods
clutter.Texture.set_from_rgb_data
def set_from_rgb_data(data
, has_alpha
, width
, height
, rowstride
, bpp
, flags
, error
)
data :
| a const-guchar* |
has_alpha :
| a gboolean |
width :
| a gint |
height :
| a gint |
rowstride :
| a gint |
bpp :
| a gint |
flags :
| a ClutterTextureFlags |
error :
| a GError** |
Returns : | a gboolean |
clutter.Texture.set_from_yuv_data
def set_from_yuv_data(data
, width
, height
, flags
, error
)
data :
| a const-guchar* |
width :
| a gint |
height :
| a gint |
flags :
| a ClutterTextureFlags |
error :
| a GError** |
Returns : | a gboolean |
clutter.Texture.set_area_from_rgb_data
def set_area_from_rgb_data(data
, has_alpha
, x
, y
, width
, height
, rowstride
, bpp
, flags
, error
)
data :
| a const-guchar* |
has_alpha :
| a gboolean |
x :
| a gint |
y :
| a gint |
width :
| a gint |
height :
| a gint |
rowstride :
| a gint |
bpp :
| a gint |
flags :
| a ClutterTextureFlags |
error :
| a GError** |
Returns : | a gboolean |
clutter.Texture.set_from_file
def set_from_file(filename
, error
)
filename :
| a const-gchar* |
error :
| a GError** |
Returns : | a gboolean |
clutter.Texture.set_filter_quality
def set_filter_quality(filter_quality
)
filter_quality :
| a ClutterTextureQuality |
clutter.Texture.get_filter_quality
def get_filter_quality()
Returns : | a ClutterTextureQuality |
clutter.Texture.set_max_tile_waste
def set_max_tile_waste(max_tile_waste
)
clutter.Texture.get_max_tile_waste
def get_max_tile_waste()
clutter.Texture.get_cogl_texture
def get_cogl_texture()
clutter.Texture.set_cogl_texture
def set_cogl_texture(cogl_tex
)