ProcUnit::SaveProc

Performs processing when saving the scene data

int SaveProc(
   SaveInfo     *ptrSaveInfo
)

Parameters
*ptrSaveInfo
Pointer to the data save information

Return Value
Returns 0 when the processing unit data is successfully saved.
Otherwise returns a non-zero value.

Description
Performs the saving of the processing unit data of a processing item.

Example
   int Sample::SaveProc(ProcUnit *ptrProcUnit, SaveInfo *ptrSaveInfo)
    {

        // Get the pointer to the inner processing unit

        ProcUnit *ptrInnerUnit = ptrProcUnit->GetInnerUnit(0);

        // Perform the data saving of an inner processing unit

        ptrInnerUnit->SaveProc(ptrSaveInfo);
    }