A3DAsmModelFileLoadFromPrcStream
-
A3DStatus
A3DAsmModelFileLoadFromPrcStream(const A3DUTF8Char *pcBufferStream, unsigned int uBufferLength, A3DRWParamsPrcReadHelper **ppPrcReadHelper, A3DAsmModelFile **ppModelFile) A3DStatusA3DAsmModelFileLoadFromPrcStream(constA3DUTF8Char* pcBufferStream, unsigned int uBufferLength,A3DRWParamsPrcReadHelper** ppPrcReadHelper,A3DAsmModelFile** ppModelFile)Load an
A3DAsmModelFilefrom a PRC Buffer.This function loads an
A3DAsmModelFilefrom a PRC Buffer.Return Values
A3D_INITIALIZE_NOT_CALLED:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_INVALID_ENTITY_NULL:
A3D_LOAD_CANNOT_ACCESS_CADFILE:
A3D_LOAD_CANNOT_LOAD_MODEL:
A3D_LOAD_CANNOT_LOAD_MULTIENTRY:
A3D_LOAD_EMPTY_MULTI_MODEL:
A3D_LOAD_FILE_TOO_OLD:
A3D_LOAD_FILE_TOO_RECENT:
A3D_LOAD_INVALID_FILE_FORMAT:
A3D_LOAD_MISSING_COMPONENTS:
A3D_LOAD_MULTI_MODELS_CADFILE: if the file contains multiple entries (see
A3DRWParamsMultiEntriesData).A3D_LOAD_READER_NOT_IMPLEMENTED:
A3D_SUCCESS:
Parameters
pcBufferStream: Buffer containing the PRC stream.
uBufferLength: Length of pcBufferStream.
ppPrcReadHelper: Reserved for future use.
ppModelFile: References a pointer into which the location of the model file should be stored. Set this pointer to null before calling the function.
Returns
A3D_SUCCESS in case of success or an error code