class

Godot::ResourceSaver

Inherits Godot::Object < Reference < Object

Godot ResourceSaver singleton (ResourceSaver).

Constructors

instance
Source
new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Class methods

singleton_ptr
Source

Instance methods

add_resource_format_saver(format_saver : ResourceFormatSaver, at_front : Bool) : Void
Source
get_recognized_extensions(get_type : Resource) : Pointer(Void)
Source
get_resource_id_for_path(path : String, generate : Bool) : Int64
Source
remove_resource_format_saver(format_saver : ResourceFormatSaver) : Void
Source
save(resource : Resource, path : String, flags : Int64 = 0_i64) : Int64

Saves a resource to disk using dynamic reflection to ensure valid string and variant marshalling.

Source
set_uid(resource : String, uid : Int64) : Int64
Source

Nested types