ProcUnit::LoadProc
Performs processing when loading the scene data
int LoadProc(
LoadInfo *ptrLoadInfo
)
Parameters
*ptrLoadInfo
|
Pointer to the data load information
|
Return Value
Returns 0 when the processing unit data is successfully loaded.
Otherwise returns a non-zero value.
Description
Performs the loading of the processing unit data of a processing item.
Example
int Sample::LoadProc(ProcUnit *ptrProcUnit, LoadInfo *ptrLoadInfo)
{
// Get the pointer to the inner processing unit
ProcUnit *ptrInnerUnit = ptrProcUnit->GetInnerUnit(0);
// Perform the data loading of an inner processing unit
ptrInnerUnit->LoadProc(ptrLoadInfo);
}