载入中...
搜索中...
未找到
EveFileSystem.h
浏览该文件的文档.
1#pragma once
2
3#include "medialoader/model/FileSystem.h"
4
5namespace eve {
6namespace filesystem {
7class Filesystem;
8}
9
10namespace model3d {
11
13class EveFileSystem : public medialoader::FileSystem {
14public:
17
19 medialoader::FileHandle *open(const char *path, const char *mode) override;
21 size_t read(medialoader::FileHandle *h, void *buf, size_t size) override;
23 bool seek(medialoader::FileHandle *h, int64_t offset, int whence) override;
25 int64_t tell(medialoader::FileHandle *h) override;
27 int64_t size(medialoader::FileHandle *h) override;
29 void close(medialoader::FileHandle *h) override;
31 bool exists(const char *path) const override;
32
33private:
35};
36
37} // namespace model3d
38} // namespace eve
int h
size_t offset
bool exists
std::string path
Definition PlayHost.cpp:110
float size
Definition TreeMesh.cpp:156
EVENGINE_API_FOUNDATION public API.
Definition Filesystem.h:43
medialoader::FileSystem adapter over eve::filesystem (physfs / VFS).
size_t read(medialoader::FileHandle *h, void *buf, size_t size) override
Reads .
int64_t tell(medialoader::FileHandle *h) override
Tell.
bool seek(medialoader::FileHandle *h, int64_t offset, int whence) override
Seeks .
void close(medialoader::FileHandle *h) override
Closes .
medialoader::FileHandle * open(const char *path, const char *mode) override
Opens .
Build metadata (engine git commit, build time, third-party version).
Definition Build.cpp:16