bool   sgFileManager::Save(const sgCScene* scen, const char* file_name,

                                                 const void* userData, unsigned long userDataSize)

 

Description:

Saves a scene to the file of the specified structure with user-defined block of data (read more how to save the scene here).

 

Arguments:

scen - scene to be saved

file_name - full path to a file the scene will be saved to

userData - user-defined block of data which is saved right after the header in the file (can be NULL)

userDataSize - user-defined block of data size (ignored if userData is NULL)

 

Returned value:

Returns true if the scene was successfully saved, otherwise - false

 

 

See also:

GetFileHeader GetUserData Open