A3DPDF3DStreamCreateFromFile

A3DStatus A3DPDF3DStreamCreateFromFile(A3DPDFDocument *pDoc, const A3DUTF8Char *pcFileName, const A3DBool bIsPRC, A3DPDF3DStream **pp3DStream)
A3DStatus A3DPDF3DStreamCreateFromFile(A3DPDFDocument* pDoc, const A3DUTF8Char* pcFileName, const A3DBool bIsPRC, A3DPDF3DStream** pp3DStream)

Function to create a Stream from a file.

Parameters

pDoc: The Document object to work with.

pcFileName: The full file path of a PRC or U3D file.

bIsPRC: Specifies the format of the data (true is for PRC, false if for U3D).

pp3DStream: The 3DStream object created.

Returns

A3D_SUCCESS in case of success or an error code