forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_imagetexture
Lukas Sägesser edited this page Jun 22, 2015
·
11 revisions
####Inherits: Texture ####Category: Core
- void create ( int width, int height, int format, int flags=7 )
- void create_from_image ( Image image, int flags=7 )
- int get_format ( ) const
- void load ( String path )
- void set_data ( Image image )
- Image get_data ( ) const
- void set_storage ( int mode )
- int get_storage ( ) const
- void set_lossy_storage_quality ( float quality )
- float get_lossy_storage_quality ( ) const
- void fix_alpha_edges ( )
- void premultiply_alpha ( )
- void normal_to_xy ( )
- void set_size_override ( Vector2 size )
- STORAGE_RAW = 0
- STORAGE_COMPRESS_LOSSY = 1
- STORAGE_COMPRESS_LOSSLESS = 2