File operations **/ ------------------------------------------------------------------------------
| 1553 | /** File operations **/ |
| 1554 | //------------------------------------------------------------------------------ |
| 1555 | bool vtkGLTFDocumentLoader::LoadFileBuffer( |
| 1556 | const std::string& fileName, std::vector<char>& glbBuffer) |
| 1557 | { |
| 1558 | vtkNew<vtkFileResourceStream> file; |
| 1559 | if (!file->Open(fileName.c_str())) |
| 1560 | { |
| 1561 | return false; |
| 1562 | } |
| 1563 | |
| 1564 | return this->LoadStreamBuffer(file, glbBuffer); |
| 1565 | } |
| 1566 | |
| 1567 | //------------------------------------------------------------------------------ |
| 1568 | bool vtkGLTFDocumentLoader::LoadStreamBuffer( |
no test coverage detected