A3DAsmModelFileExportToPrcStream

A3DStatus A3DAsmModelFileExportToPrcStream(const A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportPrcData *pParamsExportData, A3DUTF8Char **pcStream, A3DUns32 *uLength, A3DRWParamsPrcWriteHelper **ppPrcWriteHelper)
A3DStatus A3DAsmModelFileExportToPrcStream(const A3DAsmModelFile* pA3DAsmModelFile, const A3DRWParamsExportPrcData* pParamsExportData, A3DUTF8Char** pcStream, A3DUns32* uLength, A3DRWParamsPrcWriteHelper** ppPrcWriteHelper)

Writes a model file to a stream buffer in a PRC format.

This function writes the A3DAsmModelFile entity to a PRC stream buffer.

Parameters

pA3DAsmModelFile: References the A3DAsmModelFile to be written out.

pParamsExportData: References the parameters for export.

pcStream: Buffer containing the PRC content.

uLength: Length of the pcStream.

ppPrcWriteHelper: Used to get PRC data such as unique identifiers of PRC nodes.

Returns

A3D_SUCCESS on success, or an error code on failure