write_to_file


Description:

public bool write_to_file (string filename) throws Error

This function is equivalent to calling serialize followed by set_data.

See those two functions for details on the arguments.

It is mostly intended for use inside a debugger to quickly dump a render node to a file for later inspection.

Parameters:

this

a RenderNode

filename

the file to save it to.

Returns:

true if saving was successful