class_resourcesaver - vkbsb/godot GitHub Wiki
ResourceSaver
####Inherits: Object ####Category: Core
Brief Description
Resource Saving Interface.
Member Functions
- int save ( String path, Resource resource, int arg2=0 )
- StringArray get_recognized_extensions ( Object type )
Numeric Constants
- FLAG_RELATIVE_PATHS = 1
- FLAG_BUNDLE_RESOURCES = 2
- FLAG_CHANGE_PATH = 4
- FLAG_OMIT_EDITOR_PROPERTIES = 8
- FLAG_SAVE_BIG_ENDIAN = 16
- FLAG_COMPRESS = 32
Description
Resource Saving Interface. This interface is used for saving resources to disk.
Member Function Description
save
Save a resource to disk, to a given path.
get_recognized_extensions
- StringArray get_recognized_extensions ( Object type )
Return the list of extensions available for saving a resource of a given type.