ResourceSaver

Inherits: Object

Category: Core

Brief Description

Resource saving interface.

Methods

PoolStringArray get_recognized_extensions ( Resource type )
Error save ( String path, Resource resource, int flags=0 )

Enumerations

enum SaverFlags:

  • 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
  • FLAG_REPLACE_SUBRESOURCE_PATHS = 64

Description

Resource saving interface, used for saving resources to disk.

Method Descriptions

Returns the list of extensions available for saving a resource of a given type.

Saves a resource to disk.