10 #ifndef SLPROJECT_SLASSIMPIOSYSTEM_H
11 #define SLPROJECT_SLASSIMPIOSYSTEM_H
13 #include <assimp/IOStream.hpp>
14 #include <assimp/IOSystem.hpp>
22 size_t Read(
void* pvBuffer,
size_t pSize,
size_t pCount)
override;
23 size_t Write(
const void* pvBuffer,
size_t pSize,
size_t pCount)
override;
24 aiReturn
Seek(
size_t pOffset, aiOrigin pOrigin)
override;
25 size_t Tell()
const override;
27 void Flush()
override;
38 bool Exists(
const char* pFile)
const override;
40 Assimp::IOStream*
Open(
const char* pFile,
const char* pMode)
override;
41 void Close(Assimp::IOStream* pFile)
override;
aiReturn Seek(size_t pOffset, aiOrigin pOrigin) override
size_t FileSize() const override
SLAssimpIOStream(SLIOStream *stream)
size_t Read(void *pvBuffer, size_t pSize, size_t pCount) override
size_t Write(const void *pvBuffer, size_t pSize, size_t pCount) override
size_t Tell() const override
Assimp::IOStream * Open(const char *pFile, const char *pMode) override
char getOsSeparator() const override
bool Exists(const char *pFile) const override
void Close(Assimp::IOStream *pFile) override
Interface for accessing external data using streams.