forked from godotengine/godot
-
Notifications
You must be signed in to change notification settings - Fork 0
class_imagetexture
reduz edited this page Feb 23, 2014
·
11 revisions
#####Inherits: Texture
- 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
( real quality ) -
real
get_lossy_storage_quality
( ) const - void
fix_alpha_edges
( ) - void
set_size_override
( Vector2 size )
- STORAGE_RAW = 0
- STORAGE_COMPRESS_LOSSY = 1
- STORAGE_COMPRESS_LOSSLESS = 2